Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/pacman/makepkg.conf
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-04-23 15:28:07 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-04-23 15:28:07 +0300
commite05c61021a1178f33d556572f95e8d5ddc7254cc (patch)
treebac28d0c82224d2225f231fecd4af7edd2e3082e /core/pacman/makepkg.conf
parent638c999a26218a21d3d1ab724da74e794581067c (diff)
core/pacman: Switch to _FORTIFY_SOURCE=3
Some packages that depend on cython end up adding CFLAGS multiple times when invoking the compiler. This can result in a mismatch which will eventually lead to packages specifying -Werror not building. Pyalpm is one of them.
Diffstat (limited to 'core/pacman/makepkg.conf')
-rw-r--r--core/pacman/makepkg.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pacman/makepkg.conf b/core/pacman/makepkg.conf
index 1f55bf32..69c05355 100644
--- a/core/pacman/makepkg.conf
+++ b/core/pacman/makepkg.conf
@@ -41,7 +41,7 @@ CHOST="i686-pc-linux-gnu"
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
- -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
+ -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection \
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"