summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/symbolizer/scripts
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-10-14 18:19:02 +0000
committerVitaly Buka <vitalybuka@google.com>2016-10-14 18:19:02 +0000
commit8c1bb14d81b6f30818c23646dd2a56990f072739 (patch)
tree8174465fe44f11e87ab84578eef02a26d9991284 /lib/sanitizer_common/symbolizer/scripts
parentd9e6c738682c2012e5e7e87909941becd55cfbbd (diff)
downloadcompiler-rt-8c1bb14d81b6f30818c23646dd2a56990f072739.tar.gz
[sanitizers] -Wno-macro-redefined for libc++ build
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@284258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/symbolizer/scripts')
-rwxr-xr-xlib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh b/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
index 8e5a889de..ecfcb2145 100755
--- a/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
+++ b/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
@@ -82,7 +82,7 @@ make -j${J} libz.a
if [[ ! -d ${LIBCXX_BUILD} ]]; then
mkdir -p ${LIBCXX_BUILD}
cd ${LIBCXX_BUILD}
- LIBCXX_FLAGS="${FLAGS} -I${LLVM_SRC}/projects/libcxxabi/include"
+ LIBCXX_FLAGS="${FLAGS} -Wno-macro-redefined -I${LLVM_SRC}/projects/libcxxabi/include"
cmake -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=$CC \