summaryrefslogtreecommitdiff
path: root/libre/arm-linux-gnueabi-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'libre/arm-linux-gnueabi-gcc')
-rw-r--r--libre/arm-linux-gnueabi-gcc/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/libre/arm-linux-gnueabi-gcc/PKGBUILD b/libre/arm-linux-gnueabi-gcc/PKGBUILD
index cf3d744ab..8014bde46 100644
--- a/libre/arm-linux-gnueabi-gcc/PKGBUILD
+++ b/libre/arm-linux-gnueabi-gcc/PKGBUILD
@@ -6,7 +6,7 @@ _pkgver=8.2.0
#_snapshot=8-20180824
pkgver=$_pkgver${_snapshot/*-/+}
_islver=0.19
-pkgrel=1
+pkgrel=2
pkgdesc="The GNU Compiler Collection - cross compiler for ARM target"
arch=('x86_64' 'i686' 'armv7h')
url='http://gcc.gnu.org/'
@@ -37,11 +37,11 @@ prepare() {
# hack! - some configure tests for header files using "$CPP $CPPFLAGS"
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" "$srcdir"/$_basedir/{libiberty,gcc}/configure
- mkdir $srcdir/build-gcc
+ mkdir $srcdir/gcc-build
}
build() {
- cd build-gcc
+ cd gcc-build
# using -pipe causes spurious test-suite failures
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
@@ -74,15 +74,13 @@ build() {
--with-mpc \
--with-isl \
--with-libelf \
- --enable-gnu-indirect-function \
- --with-pkgversion='Parabola Repository' \
- --with-bugurl='https://labs.parabola.nu/'
+ --enable-gnu-indirect-function
make $MAKEFLAGS all-gcc
}
package() {
- cd build-gcc
+ cd gcc-build
make DESTDIR="$pkgdir" install-gcc