gcc-final: add autoreconf support, enable LTO and GOLD support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-25 18:22:10 +01:00
parent dda7ab66e7
commit d68d82c675
2 changed files with 5 additions and 2 deletions

View File

@ -7,9 +7,7 @@ $SCRIPTS/unpack gcc
setup_toolchain host setup_toolchain host
cd $BUILD/gcc* cd $BUILD/gcc*
mkdir -p objdir-$1 && cd objdir-$1 mkdir -p objdir-$1 && cd objdir-$1
../configure --host=$HOST_NAME \ ../configure --host=$HOST_NAME \
--build=$HOST_NAME \ --build=$HOST_NAME \
--target=$TARGET_NAME \ --target=$TARGET_NAME \
@ -30,6 +28,9 @@ mkdir -p objdir-$1 && cd objdir-$1
--disable-libmudflap \ --disable-libmudflap \
--disable-libssp \ --disable-libssp \
--disable-multilib \ --disable-multilib \
--enable-gold=both/ld \
--enable-plugin \
--enable-lto \
--enable-tls \ --enable-tls \
--enable-shared \ --enable-shared \
--enable-c99 \ --enable-c99 \

View File

@ -12,3 +12,5 @@ PKG_SECTION="toolchain/lang"
PKG_SHORTDESC="gcc: The GNU Compiler Collection Version 4 (aka GNU C Compiler)" 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_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_IS_ADDON="no"
PKG_AUTORECONF="no"