Set LIBUNWIND_STANDALONE_BUILD while building

This avoids accidentally finding an extra copy of libcxc outside
of the source tree.
This commit is contained in:
Martin Storsjö committed 2018-07-16 14:42:53 +03:00
1 parent 2aef445b89
commit 158b65f7c0
1 file changed
+1
+1
View File
@@ -67,6 +67,7 @@ for arch in $ARCHS; do
-DLIBUNWIND_ENABLE_THREADS=TRUE \
-DLIBUNWIND_ENABLE_SHARED=FALSE \
-DLIBUNWIND_ENABLE_CROSS_UNWINDING=FALSE \
-DLIBUNWIND_STANDALONE_BUILD=TRUE \
-DCMAKE_CXX_FLAGS="-nostdinc++ -I$LIBCXX/include" \
..
make -j$CORES