mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
core/gcc to 5.3.0-2
This commit is contained in:
parent
87492cfc23
commit
73a75bf55b
1 changed files with 4 additions and 10 deletions
|
@ -15,9 +15,9 @@
|
|||
noautobuild=1
|
||||
|
||||
pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-go')
|
||||
pkgver=5.2.0
|
||||
pkgver=5.3.0
|
||||
_pkgver=5
|
||||
_islver=0.14.1
|
||||
_islver=0.15
|
||||
pkgrel=2
|
||||
#_snapshot=5-20150623
|
||||
pkgdesc="The GNU Compiler Collection"
|
||||
|
@ -30,11 +30,9 @@ options=('!emptydirs' '!distcc')
|
|||
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
|
||||
#ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
|
||||
http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
|
||||
pr66035.patch
|
||||
0001-ARMv5-disable-LDRD-STRD.patch)
|
||||
md5sums=('a51bcfeb3da7dd4c623e27207ed43467'
|
||||
'118d1a379abf7606a3334c98a8411c79'
|
||||
'5b980076cd5fcbc3aff6014f306282dd'
|
||||
md5sums=('c9616fd448f980259c31de613e575719'
|
||||
'8428efbbc6f6e2810ce5c1ba73ecf98c'
|
||||
'924a9bcdd7852410667f04ce18c305d7')
|
||||
|
||||
if [ -n "${_snapshot}" ]; then
|
||||
|
@ -62,9 +60,6 @@ prepare() {
|
|||
# hack! - some configure tests for header files using "$CPP $CPPFLAGS"
|
||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66035
|
||||
patch -p1 -i ${srcdir}/pr66035.patch
|
||||
|
||||
# ALARM: Specify build host types, triplet patch
|
||||
[[ $CARCH == "arm" ]] && CONFIGFLAG="--host=armv5tel-unknown-linux-gnueabi --build=armv5tel-unknown-linux-gnueabi --with-arch=armv5te --with-float=soft"
|
||||
[[ $CARCH == "armv6h" ]] && CONFIGFLAG="--host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf --with-arch=armv6 --with-float=hard --with-fpu=vfp"
|
||||
|
@ -99,7 +94,6 @@ build() {
|
|||
--with-linker-hash-style=gnu --enable-gnu-indirect-function \
|
||||
--disable-multilib --disable-werror \
|
||||
--enable-checking=release \
|
||||
--with-default-libstdcxx-abi=gcc4-compatible \
|
||||
$CONFIGFLAG
|
||||
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue