mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 09:21:02 +00:00
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:
parent
19cfd733e2
commit
aec9600389
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user