mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
Temporary fix for #156
This commit is contained in:
parent
3e9ec5c844
commit
7183d7c45d
3
build.sh
3
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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user