mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
core/gcc to 7.1.1-3
This commit is contained in:
parent
08a92f2475
commit
f948dacc51
1 changed files with 8 additions and 8 deletions
|
@ -19,8 +19,8 @@ pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-go')
|
|||
pkgver=7.1.1
|
||||
_pkgver=${pkgver:0:1}
|
||||
_islver=0.18
|
||||
pkgrel=2
|
||||
_commit=754d7e56674dda4bd2d40e310d2093c2df970780
|
||||
pkgrel=3
|
||||
_commit=81fc9125b24bba5f2761b7986ff4e3de14740291
|
||||
pkgdesc="The GNU Compiler Collection"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL' 'custom')
|
||||
|
@ -32,7 +32,7 @@ source=(https://github.com/gcc-mirror/gcc/archive/${_commit}.tar.gz
|
|||
http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
|
||||
Revert-eeb6872bf.patch
|
||||
0001-ARMv5-disable-LDRD-STRD.patch)
|
||||
md5sums=('577221607ee2ed35e5afde8583479066'
|
||||
md5sums=('491bb12933ea303bb7313541348032ce'
|
||||
'11436d6b205e516635b666090b94ab32'
|
||||
'e4c9c8b498b04c0f51d219d025ca8407'
|
||||
'a5165d78c473b487637d293a49e01740')
|
||||
|
@ -110,7 +110,7 @@ build() {
|
|||
$CONFIGFLAG
|
||||
|
||||
make
|
||||
|
||||
|
||||
# make documentation
|
||||
make -C $CHOST/libstdc++-v3/doc doc-man-doxygen
|
||||
}
|
||||
|
@ -136,10 +136,10 @@ package_gcc-libs()
|
|||
options=('!emptydirs' '!strip')
|
||||
|
||||
cd ${srcdir}/gcc-build
|
||||
|
||||
|
||||
make -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
|
||||
rm ${pkgdir}/${_libdir}/libgcc_eh.a
|
||||
|
||||
|
||||
for lib in libatomic \
|
||||
libgfortran \
|
||||
libgo \
|
||||
|
@ -187,7 +187,7 @@ package_gcc()
|
|||
|
||||
make -C $CHOST/libgcc DESTDIR=${pkgdir} install
|
||||
rm ${pkgdir}/usr/lib/libgcc_s.so*
|
||||
|
||||
|
||||
make -C $CHOST/libstdc++-v3/src DESTDIR=${pkgdir} install
|
||||
make -C $CHOST/libstdc++-v3/include DESTDIR=${pkgdir} install
|
||||
make -C $CHOST/libstdc++-v3/libsupc++ DESTDIR=${pkgdir} install
|
||||
|
@ -201,7 +201,7 @@ package_gcc()
|
|||
|
||||
make DESTDIR=${pkgdir} install-fixincludes
|
||||
make -C gcc DESTDIR=${pkgdir} install-mkheaders
|
||||
|
||||
|
||||
make -C lto-plugin DESTDIR=${pkgdir} install
|
||||
install -dm755 ${pkgdir}/usr/lib/bfd-plugins/
|
||||
ln -s /usr/lib/gcc/$CHOST/${pkgver}/liblto_plugin.so \
|
||||
|
|
Loading…
Reference in a new issue