Really fix the libc++ build's include paths. (#3116)

The -I flag I previously removed was used to drag in the
"fuzzing/fuzzing.h" header.
This commit is contained in:
Eric 2019-12-12 16:06:13 -05:00 committed by Kostya Serebryany
parent ebd899105b
commit c8b58c19f5
1 changed files with 3 additions and 1 deletions

View File

@ -30,5 +30,7 @@ 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 -cxx-isystem ./libcxx/include -o $OUT/$f $LIB_FUZZING_ENGINE
$CXX $CXXFLAGS -std=c++11 ${f}_fuzzer.cc ./libcxx/fuzzing/fuzzing.cpp \
-cxx-isystem ./libcxx/include -iquote ./libcxx \
-o $OUT/$f $LIB_FUZZING_ENGINE
done