diff options
-rw-r--r-- | docs/GoldPlugin.html | 1 |
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 # <-- 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 |