summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJanez Zemva2017-12-09 08:23:34 +0100
committerJanez Zemva2017-12-09 08:23:34 +0100
commit179326a4a2e660fe1b1aaac6a0587aad5592548f (patch)
tree6e1b2242c8a4d531e3be9de9bad1fbee3425427d /PKGBUILD
parent4e74aa640756f976e31d2648742f7353ef9afc05 (diff)
downloadaur-179326a4a2e660fe1b1aaac6a0587aad5592548f.tar.gz
some fixes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0855887004c7..ee0104891f7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ _djver=2.05
_pthver=3.14
_zlver=1.2.11
_wattver="2.2-dev.10"
-pkgrel=3
+pkgrel=4
pkgdesc="djgpp cross-compiler for the dosbox environment"
arch=('i686' 'x86_64')
url="http://gcc.gnu.org"
@@ -91,6 +91,9 @@ prepare() {
# link isl for in-tree build
ln -fs "../isl-${_islver}" isl
+ # hack! - some configure tests for header files break with FORTIFY_SOURCE
+ sed -i "/ac_cpp=/ s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
+
# build the lto plugin
patch -Np0 < ../lto.patch