Build libunwind with -Wno-dll-attribute-on-redeclaration
libunwind doesn't have the dllexport attributes on the original declarations of functions, and clang normally warns about this.
This commit is contained in:
1 parent
371f002680
commit
a0d10c51cc
1 file changed
+2
-1
+2
-1
@@ -109,7 +109,8 @@ build_all() {
|
||||
-DLIBUNWIND_ENABLE_STATIC=$STATIC \
|
||||
-DLIBUNWIND_ENABLE_CROSS_UNWINDING=FALSE \
|
||||
-DLIBUNWIND_STANDALONE_BUILD=TRUE \
|
||||
-DCMAKE_CXX_FLAGS="-nostdinc++ -I$LIBCXX/include" \
|
||||
-DCMAKE_CXX_FLAGS="-nostdinc++ -I$LIBCXX/include -Wno-dll-attribute-on-redeclaration" \
|
||||
-DCMAKE_C_FLAGS="-Wno-dll-attribute-on-redeclaration" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="-lpsapi" \
|
||||
..
|
||||
make -j$CORES
|
||||
|
||||
Reference in new issue
Block a user