Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-05-01 17:31:52 +0200
committerErich Eckner <git@eckner.net>2022-09-30 08:43:49 +0200
commit28c3e77b4715f1b3664eb1c91507983feee73fc7 (patch)
tree912f586308a06ebab81f1124ca1b40834c29bac7
parenta1abccdefbb113214d609e51d5ee685aa8ed55ce (diff)
patch out -fcf-protection from makepkg.conf for i486 and i686
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e403a5a..22a97fb 100644
--- a/Makefile
+++ b/Makefile
@@ -147,11 +147,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 $@"