diff --git a/packages/toolchain/lang/gcc-core/build b/packages/toolchain/lang/gcc-core/build index 38778a9500..08301656f0 100755 --- a/packages/toolchain/lang/gcc-core/build +++ b/packages/toolchain/lang/gcc-core/build @@ -11,7 +11,6 @@ cd $BUILD/gcc* autoconf-2.64 mkdir -p objdir-$1 && cd objdir-$1 - ../configure --host=$HOST_NAME \ --build=$HOST_NAME \ --target=$TARGET_NAME \ @@ -29,6 +28,9 @@ mkdir -p objdir-$1 && cd objdir-$1 --disable-__cxa_atexit \ --disable-libada \ --disable-libmudflap \ + --enable-gold=both/ld \ + --enable-plugin \ + --enable-lto \ --disable-libssp \ --disable-libgomp \ --disable-shared \ diff --git a/packages/toolchain/lang/gcc-core/meta b/packages/toolchain/lang/gcc-core/meta index 3260d62126..84f00ee47a 100644 --- a/packages/toolchain/lang/gcc-core/meta +++ b/packages/toolchain/lang/gcc-core/meta @@ -13,3 +13,4 @@ PKG_SHORTDESC="gcc: The GNU Compiler Collection Version 4 (aka GNU C Compiler)" PKG_LONGDESC="This package contains the GNU Compiler Collection. It includes compilers for the languages C, C++, Objective C, Fortran 95, Java and others ... This GCC contains the Stack-Smashing Protector Patch which can be enabled with the -fstack-protector command-line option. More information about it ca be found at http://www.research.ibm.com/trl/projects/security/ssp/." PKG_IS_ADDON="no" +PKG_AUTORECONF="no"