cross-arm-linux-gnueabihf: update to 0.24 (gcc-7.2.0)
This commit is contained in:
parent
2814890783
commit
50a6ad4640
|
@ -1 +0,0 @@
|
||||||
../../gcc/patches/fix-glibc-2.26.patch
|
|
|
@ -1 +0,0 @@
|
||||||
../../gcc/patches/libcpp-source_date_epoch.patch
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'cross-arm-linux-gnueabihf'
|
# Template build file for 'cross-arm-linux-gnueabihf'
|
||||||
#
|
#
|
||||||
_binutils_version=2.29
|
_binutils_version=2.29
|
||||||
_gcc_version=6.3.0
|
_gcc_version=7.2.0
|
||||||
_glibc_version=2.26
|
_glibc_version=2.26
|
||||||
_linux_version=4.9.8
|
_linux_version=4.9.8
|
||||||
|
|
||||||
|
@ -11,20 +11,20 @@ _archflags="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||||
_sysroot="/usr/${_triplet}"
|
_sysroot="/usr/${_triplet}"
|
||||||
|
|
||||||
pkgname=cross-${_triplet}
|
pkgname=cross-${_triplet}
|
||||||
version=0.23
|
version=0.24
|
||||||
revision=3
|
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="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
license="Public Domain"
|
license="Public Domain"
|
||||||
distfiles="
|
distfiles="
|
||||||
${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.bz2
|
${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.bz2
|
||||||
${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.bz2
|
${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.xz
|
||||||
${GNU_SITE}/glibc/glibc-${_glibc_version}.tar.xz
|
${GNU_SITE}/glibc/glibc-${_glibc_version}.tar.xz
|
||||||
${KERNEL_SITE}/kernel/v4.x/linux-${_linux_version}.tar.xz"
|
${KERNEL_SITE}/kernel/v4.x/linux-${_linux_version}.tar.xz"
|
||||||
checksum="
|
checksum="
|
||||||
29a29549869039aad75fdf507ac30366da5ad0b974fbff4a8e7148dbf4f40ebf
|
29a29549869039aad75fdf507ac30366da5ad0b974fbff4a8e7148dbf4f40ebf
|
||||||
f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f
|
1cf7adf8ff4b5aa49041c8734bbcf1ad18cc4c94d0029aae0f4e48841088479a
|
||||||
e54e0a934cd2bc94429be79da5e9385898d2306b9eaf3c92d5a77af96190f6bd
|
e54e0a934cd2bc94429be79da5e9385898d2306b9eaf3c92d5a77af96190f6bd
|
||||||
150bb7f2dd4849b5d21b8ccd8d05294a48229e1fcb93a22e7b806a79ec0b0e45"
|
150bb7f2dd4849b5d21b8ccd8d05294a48229e1fcb93a22e7b806a79ec0b0e45"
|
||||||
|
|
||||||
|
@ -97,9 +97,7 @@ _gcc_bootstrap() {
|
||||||
[ -f ${wrksrc}/.gcc_bootstrap_done ] && return 0
|
[ -f ${wrksrc}/.gcc_bootstrap_done ] && return 0
|
||||||
|
|
||||||
cd ${wrksrc}/gcc-${_gcc_version}
|
cd ${wrksrc}/gcc-${_gcc_version}
|
||||||
_apply_patch -p0 ${FILESDIR}/libcpp-source_date_epoch.patch
|
|
||||||
_apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch
|
_apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch
|
||||||
_apply_patch -p0 ${FILESDIR}/fix-glibc-2.26.patch
|
|
||||||
|
|
||||||
msg_normal "Building cross gcc bootstrap\n"
|
msg_normal "Building cross gcc bootstrap\n"
|
||||||
|
|
||||||
|
@ -137,10 +135,15 @@ _gcc_bootstrap() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_glibc_headers() {
|
_glibc_headers() {
|
||||||
local _args
|
local _args f
|
||||||
|
|
||||||
[ -f ${wrksrc}/.glibc_headers_done ] && return 0
|
[ -f ${wrksrc}/.glibc_headers_done ] && return 0
|
||||||
|
|
||||||
|
cd ${wrksrc}/glibc-${_glibc_version}
|
||||||
|
for f in ${XBPS_SRCPKGDIR}/glibc/patches/*.patch; do
|
||||||
|
_apply_patch -p1 "$f"
|
||||||
|
done
|
||||||
|
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
msg_normal "Building cross glibc headers\n"
|
msg_normal "Building cross glibc headers\n"
|
||||||
|
|
||||||
|
@ -243,6 +246,8 @@ _gcc_build() {
|
||||||
_args+=" --enable-linker-build-id"
|
_args+=" --enable-linker-build-id"
|
||||||
_args+=" --enable-gnu-unique-object"
|
_args+=" --enable-gnu-unique-object"
|
||||||
_args+=" --enable-lto"
|
_args+=" --enable-lto"
|
||||||
|
_args+=" --enable-default-pie"
|
||||||
|
_args+=" --enable-default-ssp"
|
||||||
_args+=" --disable-libquadmath"
|
_args+=" --disable-libquadmath"
|
||||||
_args+=" --disable-libatomic"
|
_args+=" --disable-libatomic"
|
||||||
_args+=" --disable-libssp"
|
_args+=" --disable-libssp"
|
||||||
|
|
Loading…
Reference in New Issue