Correctly insert libc++ include path to use local version. (#3115)

Previously we're using the installed libc++ headers.
This commit is contained in:
Eric 2019-12-12 15:52:43 -05:00 committed by Kostya Serebryany
parent afdf534851
commit ebd899105b
1 changed files with 1 additions and 1 deletions

View File

@ -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