summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 328569b..5b0114e 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $@"