From 7183d7c45d5676093ff36e8cfa9fad87e200c37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Fri, 7 Dec 2018 13:12:36 +0100 Subject: [PATCH] Temporary fix for #156 --- build.sh | 3 ++- build_gcc.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 84bf6d7..af2c02e 100755 --- a/build.sh +++ b/build.sh @@ -163,7 +163,8 @@ echo "" CONFFLAGS="--prefix=$TARGET_DIR --target=x86_64-apple-$TARGET " [ -z "$USE_CLANG_AS" ] && CONFFLAGS+="--disable-clang-as " [ -n "$DISABLE_LTO_SUPPORT" ] && CONFFLAGS+="--disable-lto-support " -./configure $CONFFLAGS +# https://github.com/tpoechtrager/osxcross/issues/156 +CXX="$CXX -DNDEBUG" ./configure $CONFFLAGS $MAKE -j$JOBS $MAKE install -j$JOBS popd &>/dev/null diff --git a/build_gcc.sh b/build_gcc.sh index 1f02286..9c8fb5f 100755 --- a/build_gcc.sh +++ b/build_gcc.sh @@ -20,7 +20,7 @@ eval $(tools/osxcross_conf.sh) # GCC version to build # (<4.7 will not work properly with libc++) if [ -z "$GCC_VERSION" ]; then - GCC_VERSION=6.2.0 + GCC_VERSION=8.2.0 #GCC_VERSION=5-20140928 # snapshot fi