From c2b14468e7645cd517d4804c86b6401643d89128 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 1 May 2021 17:31:52 +0200 Subject: patch out -fcf-protection from makepkg.conf for i486 and i686 --- Makefile | 10 ++++++++-- 1 file 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 $@" -- cgit v1.2.3-70-g09d2