Build symbolizer runtime with C++14.

Should hopefully fix sanitizer-x86_64-linux bot.

llvm-svn: 369290
This commit is contained in:
Peter Collingbourne 2019-08-19 18:43:52 +00:00
parent e644d5e230
commit 4340c2cf8f
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ mkdir ${SYMBOLIZER_BUILD}
cd ${SYMBOLIZER_BUILD}
echo "Compiling..."
SYMBOLIZER_FLAGS="$LLVM_FLAGS -I${LLVM_SRC}/include -I${LLVM_BUILD}/include -std=c++11"
SYMBOLIZER_FLAGS="$LLVM_FLAGS -I${LLVM_SRC}/include -I${LLVM_BUILD}/include -std=c++14"
$CXX $SYMBOLIZER_FLAGS ${SRC_DIR}/sanitizer_symbolize.cpp ${SRC_DIR}/sanitizer_wrappers.cpp -c
$AR rc symbolizer.a sanitizer_symbolize.o sanitizer_wrappers.o