gcc: drop options that do not exist, disable serial configure
This commit is contained in:
parent
73fa7e6105
commit
d3f7da9f2f
1 changed files with 1 additions and 9 deletions
|
@ -221,7 +221,6 @@ do_configure() {
|
|||
|
||||
_args+=" --host=$XBPS_CROSS_TRIPLET"
|
||||
_args+=" --with-build-sysroot=${XBPS_CROSS_BASE}"
|
||||
_args+=" --enable-sjlj-exceptions=no"
|
||||
_langs+=",objc,obj-c++,fortran"
|
||||
elif [ -z "$CHROOT_READY" ]; then
|
||||
export LD_LIBRARY_PATH="${XBPS_MASTERDIR}/usr/lib${XBPS_TARGET_WORDSIZE}"
|
||||
|
@ -229,7 +228,6 @@ do_configure() {
|
|||
else
|
||||
_langs="c,c++,objc,obj-c++,fortran,lto"
|
||||
_args+=" --build=${_triplet}"
|
||||
_args+=" --enable-fast-character"
|
||||
fi
|
||||
|
||||
if [ "$_have_gccgo" = "yes" ]; then
|
||||
|
@ -276,15 +274,9 @@ do_configure() {
|
|||
_args+=" --disable-libstdcxx-pch"
|
||||
_args+=" --with-isl"
|
||||
_args+=" --with-linker-hash-style=$_hash"
|
||||
_args+=" --disable-libunwind-exceptions"
|
||||
_args+=" --disable-sjlj-exceptions"
|
||||
_args+=" --disable-target-libiberty"
|
||||
|
||||
# --enable-serial-configure is broken when cross-compiling for
|
||||
# some targets because it introduces make rule dependency cycles
|
||||
if [ ! "$CROSS_BUILD" ]; then
|
||||
_args+=" --enable-serial-configure"
|
||||
fi
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
if [ "$build_option_gnatboot" ]; then
|
||||
|
|
Loading…
Reference in a new issue