From 158b65f7c0b26c09efb87977ff02e54d00f6e6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 16 Jul 2018 14:42:53 +0300 Subject: [PATCH] Set LIBUNWIND_STANDALONE_BUILD while building This avoids accidentally finding an extra copy of libcxc outside of the source tree. --- build-libcxx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-libcxx.sh b/build-libcxx.sh index 86886df..309b981 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -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