diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template index 9461bb6b10e..36dcb893ce6 100644 --- a/srcpkgs/gcc/template +++ b/srcpkgs/gcc/template @@ -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