From 4951f6f682b3cea41f0fa7f382d8178976cc506d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 16 Jun 2021 14:15:37 +0300 Subject: [PATCH] build-libcxx: Stop setting -Wno-dll-attribute-no-redeclaration when building libunwind This is set by libunwind itself since df6d2e8ab1a4212284e4763724a2211df2c7394a in llvm-project. --- build-libcxx.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/build-libcxx.sh b/build-libcxx.sh index 165e22a..3258901 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -105,8 +105,6 @@ build_all() { -DLIBUNWIND_ENABLE_SHARED=$SHARED \ -DLIBUNWIND_ENABLE_STATIC=$STATIC \ -DLIBUNWIND_ENABLE_CROSS_UNWINDING=FALSE \ - -DCMAKE_CXX_FLAGS="-Wno-dll-attribute-on-redeclaration" \ - -DCMAKE_C_FLAGS="-Wno-dll-attribute-on-redeclaration" \ .. $BUILDCMD ${CORES+-j$CORES} $BUILDCMD install