From ebd899105b9f759a6bace17a51025cdd062c9983 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 12 Dec 2019 15:52:43 -0500 Subject: [PATCH] Correctly insert libc++ include path to use local version. (#3115) Previously we're using the installed libc++ headers. --- projects/llvm_libcxx/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/llvm_libcxx/build.sh b/projects/llvm_libcxx/build.sh index 6cea2f8a4..45dd77ae9 100755 --- a/projects/llvm_libcxx/build.sh +++ b/projects/llvm_libcxx/build.sh @@ -30,5 +30,5 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { assert(result == 0); return 0; } EOF - $CXX $CXXFLAGS -std=c++11 ${f}_fuzzer.cc ./libcxx/fuzzing/fuzzing.cpp -I ./libcxx -o $OUT/$f $LIB_FUZZING_ENGINE + $CXX $CXXFLAGS -std=c++11 ${f}_fuzzer.cc ./libcxx/fuzzing/fuzzing.cpp -cxx-isystem ./libcxx/include -o $OUT/$f $LIB_FUZZING_ENGINE done