Oops. I wanted the compile flags for C++, not the C preprocessor flags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48744 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2008-03-24 21:38:01 +00:00
parent 19cfd733e2
commit aec9600389
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ Module* makeLLVMModule() {
<div class="doc_code">
<pre>
# c++ -g tut1.cpp `llvm-config --cppflags --ldflags --libs core` -o tut1
# c++ -g tut1.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut1
# ./tut1
</pre>
</div>

View File

@ -166,7 +166,7 @@ Module* makeLLVMModule() {
<div class="doc_code">
<pre>
# c++ -g tut2.cpp `llvm-config --cppflags --ldflags --libs core` -o tut2
# c++ -g tut2.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut2
# ./tut2
</pre>
</div>