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

llvm-svn: 48744
This commit is contained in:
Owen Anderson 2008-03-24 21:38:01 +00:00
parent c905fe9407
commit ce2682184f
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>