From 373c1e4c118a128658b5f333af863314a3c731d3 Mon Sep 17 00:00:00 2001 From: Matt Kwong Date: Thu, 16 Nov 2017 21:50:18 -0800 Subject: [PATCH] Compile fuzzers with Clang++ (#993) --- projects/grpc/build.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/projects/grpc/build.sh b/projects/grpc/build.sh index d056bdd94..51be391e8 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