[sanitizers] -Wno-macro-redefined for libc++ build
authorVitaly Buka <vitalybuka@google.com>
Fri, 14 Oct 2016 18:19:02 +0000 (18:19 +0000)
committerVitaly Buka <vitalybuka@google.com>
Fri, 14 Oct 2016 18:19:02 +0000 (18:19 +0000)
llvm-svn: 284258

compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh

index 8e5a889..ecfcb21 100755 (executable)
@@ -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 \