Temporary fix for #156

This commit is contained in:
Thomas Pöchtrager 2018-12-07 13:12:36 +01:00
parent 3e9ec5c844
commit 7183d7c45d
2 changed files with 3 additions and 2 deletions

View File

@ -163,7 +163,8 @@ echo ""
CONFFLAGS="--prefix=$TARGET_DIR --target=x86_64-apple-$TARGET " CONFFLAGS="--prefix=$TARGET_DIR --target=x86_64-apple-$TARGET "
[ -z "$USE_CLANG_AS" ] && CONFFLAGS+="--disable-clang-as " [ -z "$USE_CLANG_AS" ] && CONFFLAGS+="--disable-clang-as "
[ -n "$DISABLE_LTO_SUPPORT" ] && CONFFLAGS+="--disable-lto-support " [ -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 -j$JOBS
$MAKE install -j$JOBS $MAKE install -j$JOBS
popd &>/dev/null popd &>/dev/null

View File

@ -20,7 +20,7 @@ eval $(tools/osxcross_conf.sh)
# GCC version to build # GCC version to build
# (<4.7 will not work properly with libc++) # (<4.7 will not work properly with libc++)
if [ -z "$GCC_VERSION" ]; then if [ -z "$GCC_VERSION" ]; then
GCC_VERSION=6.2.0 GCC_VERSION=8.2.0
#GCC_VERSION=5-20140928 # snapshot #GCC_VERSION=5-20140928 # snapshot
fi fi