diff options
author | Erich Eckner <git@eckner.net> | 2021-05-01 17:31:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-05-01 17:31:52 +0200 |
commit | 984dfc919483b70eee190fa7373ca3c504dea8aa (patch) | |
tree | 78aaf1f09bbfdb47b1ce5f464fc192c72cb56eff | |
parent | 8e36f037bb3058bf734dedd886a34229df0610ac (diff) | |
download | devtools32-984dfc919483b70eee190fa7373ca3c504dea8aa.tar.xz |
patch out -fcf-protection from makepkg.conf for i486 and i686
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -131,11 +131,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 $@" |