cross-arm-linux-gnueabihf7: switch to gcc-4.9.0.

This commit is contained in:
Juan RP 2014-05-15 13:31:39 +02:00
parent 43c059a5d0
commit 9e131ce5e1

View File

@ -1,7 +1,7 @@
# Template build file for 'cross-arm-linux-gnueabihf7'
#
_binutils_version=2.24
_gcc_version=4.7.3
_gcc_version=4.9.0
_glibc_version=2.19
_linux_version=3.10.6
@ -11,7 +11,7 @@ _archflags="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
_CROSS_SYSROOT="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.15
version=0.16
revision=1
short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -24,7 +24,7 @@ distfiles="
http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_linux_version}.tar.xz"
checksum="
e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137
2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3
b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257
2d3997f588401ea095a0b27227b1d50cdfdd416236f6567b564549d3b46ea2a2
ed4dfd9f56b7c82e9c71331bbf8d2ea01ddfddc1b6209bd3f3c8640aa24065cf"
@ -98,7 +98,7 @@ _gcc_bootstrap() {
--disable-nls --disable-shared --disable-libquadmath \
--disable-decimal-float --disable-libgomp --disable-libmudflap \
--disable-libssp --disable-threads --enable-languages=c \
--disable-sjlj-exceptions --disable-multilib \
--disable-sjlj-exceptions --disable-libatomic --disable-multilib \
--with-gnu-ld --with-gnu-as ${_fpuflags}
make ${makejobs}
@ -152,7 +152,7 @@ _glibc_build() {
export CFLAGS="-Os -pipe ${_archflags}"
../glibc-${_glibc_version}/configure \
--host=${_triplet} --prefix=/usr \
--host=${_triplet} --prefix=/usr --libdir=/usr/lib \
--with-headers=${_CROSS_SYSROOT}/usr/include \
--config-cache --enable-add-ons=nptl,ports \
--enable-obsolete-rpc --disable-profile \
@ -191,7 +191,11 @@ _gcc_build() {
--enable-threads=posix --enable-long-longx \
--enable-shared --enable-linker-build-id \
--enable-gnu-unique-object --enable-lto \
--enable-libstdcxx-time ${_fpuflags}
--disable-libquadmath --disable-libatomic \
--disable-libssp --disable-libmudflap \
--disable-libsanitizer --disable-libcilkrts \
--disable-libitm --disable-libvtv --disable-libstdcxx-pch \
--enable-libstdcxx-time --with-linker-hash-style=gnu ${_fpuflags}
make ${makejobs}