Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-05-01 17:31:52 +0200
committerErich Eckner <git@eckner.net>2022-06-07 06:38:46 +0200
commitc2b14468e7645cd517d4804c86b6401643d89128 (patch)
tree101ced16664e12790fe0ee27283c5432e8b68592 /Makefile
parent71336814fb0a459827ce3e47fa397ea51fab0590 (diff)
patch out -fcf-protection from makepkg.conf for i486 and i686
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0296c1c..2480d7b 100644
--- a/Makefile
+++ b/Makefile
@@ -135,11 +135,17 @@ edit = sed -e "s|@pkgdatadir[@]|$(PREFIX)/share/devtools|g"
makepkg-i486.conf: makepkg-x86_64.conf
@echo "GEN $@"
- @sed 's,\(["=]\)x86[-_]64\([-" ]\),\1i486\2,g' "$<" > "$@"
+ @sed ' \
+ s,\(["=]\)x86[-_]64\([-" ]\),\1i486\2,g; \
+ s,-fcf-protection,,g; \
+ ' "$<" > "$@"
makepkg-i686.conf: makepkg-x86_64.conf
@echo "GEN $@"
- @sed 's,\(["=]\)x86[-_]64\([-" ]\),\1i686\2,g' "$<" > "$@"
+ @sed '
+ s,\(["=]\)x86[-_]64\([-" ]\),\1i686\2,g; \
+ s,-fcf-protection,,g; \
+ ' "$<" > "$@"
makepkg-pentium4.conf: makepkg-i686.conf
@echo "GEN $@"