[compiler-rt] Update libFuzzer build script to use C++17. (#89604)
libFuzzer uses std::clamp which was introduced in C++17.
This commit is contained in:
parent
37e13d4924
commit
791161516f
@ -2,7 +2,7 @@
|
||||
LIBFUZZER_SRC_DIR=$(dirname $0)
|
||||
CXX="${CXX:-clang}"
|
||||
for f in $LIBFUZZER_SRC_DIR/*.cpp; do
|
||||
$CXX -g -O2 -fno-omit-frame-pointer -std=c++14 $f -c &
|
||||
$CXX -g -O2 -fno-omit-frame-pointer -std=c++17 $f -c &
|
||||
done
|
||||
wait
|
||||
rm -f libFuzzer.a
|
||||
|
Loading…
x
Reference in New Issue
Block a user