mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
[libFuzzer] Use CXX to set compiler to use
Reviewers: kcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D28976 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3a0d592eba
commit
fcd9eea31b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user