aboutsummaryrefslogtreecommitdiffstats
path: root/docs/GoldPlugin.html
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-06-03 15:42:26 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-06-03 15:42:26 +0000
commit4734ed8b876b3d3d60df5e03b3b45164f0a1c5c7 (patch)
tree89f5687e405fa0980f8b0053452565cdd3904151 /docs/GoldPlugin.html
parent892c8caa3c5f4e177b9ef489d69af553d8b2e421 (diff)
downloadexternal_llvm-4734ed8b876b3d3d60df5e03b3b45164f0a1c5c7.zip
external_llvm-4734ed8b876b3d3d60df5e03b3b45164f0a1c5c7.tar.gz
external_llvm-4734ed8b876b3d3d60df5e03b3b45164f0a1c5c7.tar.bz2
lets not forget about c++!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GoldPlugin.html')
-rw-r--r--docs/GoldPlugin.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/GoldPlugin.html b/docs/GoldPlugin.html
index 845ea1c..6be5277 100644
--- a/docs/GoldPlugin.html
+++ b/docs/GoldPlugin.html
@@ -152,6 +152,7 @@ $ llvm-gcc -use-gold-plugin a.o b.o -o main # &lt;-- link with LLVMgold plugin
binutils):
<pre class="doc_code">
export CC="$PREFIX/bin/llvm-gcc -use-gold-plugin"
+export CXX="$PREFIX/bin/llvm-g++ -use-gold-plugin"
export AR="$PREFIX/bin/ar --plugin libLLVMgold.so"
export NM="$PREFIX/bin/nm --plugin libLLVMgold.so"
export RANLIB=/bin/true #ranlib is not needed, and doesn't support .bc files in .a