summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Reimer2021-04-26 15:59:59 +0200
committerManuel Reimer2021-04-26 15:59:59 +0200
commit6d3ecb87eeeab373178843764a3491626db588ab (patch)
treeea813a858ec69f79213f6d631284c82b464906a6
parent7a6dd8ad5b10bbf0d04e75461cea44f8388b7be0 (diff)
downloadaur-6d3ecb87eeeab373178843764a3491626db588ab.tar.gz
Remove fortify from CFLAGS for recent buildflag changes in makepkg.conf. Fixes #72
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 69d477ab29f2..35c770634d88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -66,7 +66,8 @@ build() {
echo "rootsbindir=/opt/wine-lol/bin" >> configparms
# remove fortify for building libraries
- CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
+ CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/} # Before and
+ CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2,/} # after https://github.com/archlinux/svntogit-packages/commit/a790c38
CFLAGS=${CFLAGS/-fno-plt/}
CXXFLAGS=${CXXFLAGS/-fno-plt/}