build-libcxx: Stop setting -Wno-dll-attribute-no-redeclaration when building libunwind

This is set by libunwind itself since
df6d2e8ab1a4212284e4763724a2211df2c7394a in llvm-project.
This commit is contained in:
Martin Storsjö committed 2021-06-16 14:15:37 +03:00
1 parent 14098d92bc
commit 4951f6f682
1 file changed
-2
-2
View File
@@ -105,8 +105,6 @@ build_all() {
-DLIBUNWIND_ENABLE_SHARED=$SHARED \ -DLIBUNWIND_ENABLE_SHARED=$SHARED \
-DLIBUNWIND_ENABLE_STATIC=$STATIC \ -DLIBUNWIND_ENABLE_STATIC=$STATIC \
-DLIBUNWIND_ENABLE_CROSS_UNWINDING=FALSE \ -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 ${CORES+-j$CORES}
$BUILDCMD install $BUILDCMD install