[PATCH] D28976: [libFuzzer] Use CXX to set compiler to use

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 17:33:08 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL292697: [libFuzzer] Use CXX to set compiler to use (authored by vitalybuka).

Changed prior to commit:
  https://reviews.llvm.org/D28976?vs=85223&id=85225#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28976

Files:
  llvm/trunk/lib/Fuzzer/build.sh


Index: llvm/trunk/lib/Fuzzer/build.sh
===================================================================
--- llvm/trunk/lib/Fuzzer/build.sh
+++ llvm/trunk/lib/Fuzzer/build.sh
@@ -1,7 +1,8 @@
 #!/bin/bash
 LIBFUZZER_SRC_DIR=$(dirname $0)
+CXX="${CXX:-clang}"
 for f in $LIBFUZZER_SRC_DIR/*.cpp; do
-  clang -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c &
+  $CXX -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c &
 done
 wait
 rm -f libFuzzer.a


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28976.85225.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170121/4c50a3a4/attachment.bin>


More information about the llvm-commits mailing list