mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
build.sh: Make Clang the default assembler for GCC
This commit is contained in:
parent
194807cb8b
commit
f67ce5033d
2
build.sh
2
build.sh
@ -120,7 +120,7 @@ if [ $f_res -eq 1 ]; then
|
|||||||
CONFFLAGS+="--with-libtapi=$TARGET_DIR "
|
CONFFLAGS+="--with-libtapi=$TARGET_DIR "
|
||||||
fi
|
fi
|
||||||
CONFFLAGS+="--with-libxar=$TARGET_DIR "
|
CONFFLAGS+="--with-libxar=$TARGET_DIR "
|
||||||
[ -z "$USE_CLANG_AS" ] && CONFFLAGS+="--disable-clang-as "
|
[ -n "$DISABLE_CLANG_AS" ] && CONFFLAGS+="--disable-clang-as "
|
||||||
[ -n "$DISABLE_LTO_SUPPORT" ] && CONFFLAGS+="--disable-lto-support "
|
[ -n "$DISABLE_LTO_SUPPORT" ] && CONFFLAGS+="--disable-lto-support "
|
||||||
# https://github.com/tpoechtrager/osxcross/issues/156
|
# https://github.com/tpoechtrager/osxcross/issues/156
|
||||||
CXX="$CXX -DNDEBUG" ./configure $CONFFLAGS
|
CXX="$CXX -DNDEBUG" ./configure $CONFFLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user