mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
core/gcc to 4.9.2-4
This commit is contained in:
parent
f51294fe31
commit
d33c16a539
1 changed files with 9 additions and 9 deletions
|
@ -19,8 +19,8 @@ pkgver=4.9.2
|
|||
_pkgver=4.9
|
||||
_islver=0.12.2
|
||||
_cloogver=0.18.1
|
||||
pkgrel=3
|
||||
_snapshot=4.9-20150204
|
||||
pkgrel=4
|
||||
_snapshot=4.9-20150304
|
||||
pkgdesc="The GNU Compiler Collection"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL' 'custom')
|
||||
|
@ -32,12 +32,10 @@ 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
|
||||
http://www.bastoul.net/cloog/pages/download/cloog-${_cloogver}.tar.gz
|
||||
gcc-4.8-filename-output.patch
|
||||
0001-ARMv5-disable-LDRD-STRD.patch)
|
||||
md5sums=('5a59c19c4ff7acd3db7f8d94843f7f85'
|
||||
md5sums=('863bb9d2a9551c9b7447cfc8b7cc7498'
|
||||
'e039bfcfb6c2ab039b8ee69bf883e824'
|
||||
'e34fca0540d840e5d0f6427e98c92252'
|
||||
'6810bb9b2252f03e6c98d9a671d94589'
|
||||
'924a9bcdd7852410667f04ce18c305d7')
|
||||
|
||||
if [ -n "${_snapshot}" ]; then
|
||||
|
@ -63,10 +61,6 @@ prepare() {
|
|||
# hack! - some configure tests for header files using "$CPP $CPPFLAGS"
|
||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
|
||||
|
||||
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
|
||||
# https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=9140d56f
|
||||
patch -p1 -i ${srcdir}/gcc-4.8-filename-output.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"
|
||||
|
@ -101,6 +95,12 @@ build() {
|
|||
--with-linker-hash-style=gnu \
|
||||
--disable-multilib --disable-werror \
|
||||
--enable-checking=release $CONFIGFLAG
|
||||
|
||||
# gcc-5.0 changes
|
||||
# --with-default-libstdcxx-abi=c++98 - before gcc-5.0 c++ rebuild
|
||||
# --enable-gnu-indirect-function
|
||||
# --with-isl - cloog no longer needed
|
||||
|
||||
make
|
||||
|
||||
# make documentation
|
||||
|
|
Loading…
Reference in a new issue