[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:29:09 PST 2017
vitalybuka created this revision.
https://reviews.llvm.org/D28976
Files:
lib/Fuzzer/build.sh
Index: lib/Fuzzer/build.sh
===================================================================
--- lib/Fuzzer/build.sh
+++ 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.85223.patch
Type: text/x-patch
Size: 413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170121/172e95ac/attachment.bin>
More information about the llvm-commits
mailing list