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:
1 parent
2aef445b89
commit
158b65f7c0
1 file changed
+1
@@ -67,6 +67,7 @@ for arch in $ARCHS; do
|
|||||||
-DLIBUNWIND_ENABLE_THREADS=TRUE \
|
-DLIBUNWIND_ENABLE_THREADS=TRUE \
|
||||||
-DLIBUNWIND_ENABLE_SHARED=FALSE \
|
-DLIBUNWIND_ENABLE_SHARED=FALSE \
|
||||||
-DLIBUNWIND_ENABLE_CROSS_UNWINDING=FALSE \
|
-DLIBUNWIND_ENABLE_CROSS_UNWINDING=FALSE \
|
||||||
|
-DLIBUNWIND_STANDALONE_BUILD=TRUE \
|
||||||
-DCMAKE_CXX_FLAGS="-nostdinc++ -I$LIBCXX/include" \
|
-DCMAKE_CXX_FLAGS="-nostdinc++ -I$LIBCXX/include" \
|
||||||
..
|
..
|
||||||
make -j$CORES
|
make -j$CORES
|
||||||
|
|||||||
Reference in new issue
Block a user