mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
cross-arm-linux-gnueabihf: enable lto; update binutils to 2.24.
This commit is contained in:
parent
5e317e9d5a
commit
a3b6293949
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template build file for 'cross-arm-linux-gnueabihf'
|
# Template build file for 'cross-arm-linux-gnueabihf'
|
||||||
#
|
#
|
||||||
_binutils_version=2.23.1
|
_binutils_version=2.24
|
||||||
_gcc_version=4.7.3
|
_gcc_version=4.7.3
|
||||||
_glibc_version=2.18
|
_glibc_version=2.18
|
||||||
_gmp_version=5.0.5
|
_gmp_version=5.0.5
|
||||||
|
@ -13,7 +13,7 @@ _fpuflags="--with-arch=armv6 --with-fpu=vfp --with-float=hard"
|
||||||
_archflags="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
_archflags="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||||
|
|
||||||
pkgname=cross-${_triplet}
|
pkgname=cross-${_triplet}
|
||||||
version=0.13
|
version=0.14
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)"
|
short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)"
|
||||||
maintainer="pancake <pancake@nopcode.org>"
|
maintainer="pancake <pancake@nopcode.org>"
|
||||||
|
@ -28,7 +28,7 @@ distfiles="
|
||||||
http://www.multiprecision.org/mpc/download/mpc-${_mpc_version}.tar.gz
|
http://www.multiprecision.org/mpc/download/mpc-${_mpc_version}.tar.gz
|
||||||
http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_linux_version}.tar.xz"
|
http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_linux_version}.tar.xz"
|
||||||
checksum="
|
checksum="
|
||||||
2ab2e5b03e086d12c6295f831adad46b3e1410a3a234933a2e8fac66cb2e7a19
|
e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137
|
||||||
2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3
|
2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3
|
||||||
2cb4e1e381928f1e5e55e71ab1ba8e0ea7ede75ff9709770435bfd018ea257a3
|
2cb4e1e381928f1e5e55e71ab1ba8e0ea7ede75ff9709770435bfd018ea257a3
|
||||||
1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9
|
1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9
|
||||||
|
@ -200,12 +200,12 @@ _gcc_build() {
|
||||||
|
|
||||||
../gcc-${_gcc_version}/configure \
|
../gcc-${_gcc_version}/configure \
|
||||||
--target=${_CROSS_TARGET} --prefix=/usr \
|
--target=${_CROSS_TARGET} --prefix=/usr \
|
||||||
--with-sysroot=${_CROSS_SYSROOT} --enable-languages=c,c++ \
|
--with-sysroot=${_CROSS_SYSROOT} --enable-languages=c,c++,lto \
|
||||||
--with-gnu-as --with-gnu-ld --disable-multilib \
|
--with-gnu-as --with-gnu-ld --disable-multilib \
|
||||||
--disable-nls --disable-sjlj-exceptions \
|
--disable-nls --disable-sjlj-exceptions \
|
||||||
--enable-threads=posix --enable-long-longx \
|
--enable-threads=posix --enable-long-longx \
|
||||||
--enable-shared --enable-linker-build-id \
|
--enable-shared --enable-linker-build-id \
|
||||||
--enable-gnu-unique-object ${_fpuflags}
|
--enable-gnu-unique-object --enable-lto ${_fpuflags}
|
||||||
|
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue