diff options
author | 2017-11-16 21:50:18 -0800 | |
---|---|---|
committer | 2017-11-16 21:50:18 -0800 | |
commit | 373c1e4c118a128658b5f333af863314a3c731d3 (patch) | |
tree | fe3f9c97a266bbd2c722ea78136f13b167e189cd /projects/grpc | |
parent | 2c04c55f62f3d097fc069a6ed8e9a7247e44a2db (diff) |
Compile fuzzers with Clang++ (#993)
Diffstat (limited to 'projects/grpc')
-rwxr-xr-x | projects/grpc/build.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/projects/grpc/build.sh b/projects/grpc/build.sh index d056bdd9..51be391e 100755 --- a/projects/grpc/build.sh +++ b/projects/grpc/build.sh @@ -62,12 +62,9 @@ CXXFLAGS="${CXXFLAGS} -Iinclude -I. -stdlib=libc++" for file in $FUZZER_FILES; do fuzzer_name=$(basename $file .cc) - fuzzer_object="${file::-1}o" echo "Building fuzzer $fuzzer_name" - $CC $CFLAGS \ - $file -c -o $fuzzer_object $CXX $CXXFLAGS \ - $fuzzer_object -o $OUT/$fuzzer_name \ + $file -o $OUT/$fuzzer_name \ -lFuzzingEngine ${FUZZER_LIBRARIES} done |