summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2021-06-02 16:52:49 +0200
committerMichel Zou2021-06-02 16:52:49 +0200
commit5fd83607c9d6316161927b6cafb248bc2b9cea04 (patch)
tree3280c2b05ed01b57c11a3ce99338c16780c94c97
parentadfd05742021bc5791e6e5fc86b98d9751a68883 (diff)
downloadaur-5fd83607c9d6316161927b6cafb248bc2b9cea04.tar.gz
-D_FORTIFY_SOURCE=2
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c2980e4ace2d..273791c86bcc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -54,4 +54,3 @@ pkgname = lib32-glibc-linux4
options = !strip
options = staticlibs
options = !emptydirs
-
diff --git a/PKGBUILD b/PKGBUILD
index 9f19fa371d8e..59781a5d0ad0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -74,7 +74,8 @@ build() {
echo "rootsbindir=/usr/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/}