Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-01-22 09:58:49 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2023-01-22 09:58:49 +0100
commitbfc22eea7e4c6877fe8b9d89fa574cb0729466db (patch)
treea4667d0b44796e3ec2f5e5617ba109105e6c9594 /Makefile
parent6ba268e81a73945a28fdf919cd74414838b4b233 (diff)
patching zstd mode (20 exhaust virtual memory)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 549c87e..04de8ee 100644
--- a/Makefile
+++ b/Makefile
@@ -123,6 +123,7 @@ $(BUILDDIR)/config/makepkg-i486.conf: config/makepkg/x86_64.conf
s,LTOFLAGS=".*",LTOFLAGS=\"-fno-lto\",g; \
/OPTIONS=/s/ lto/ !lto/; \
" "$<" > "$@"
+ @sed -i 's/--ultra -20/--ultra -19/' "$@"
$(BUILDDIR)/config/makepkg-i686.conf: config/makepkg/x86_64.conf
@echo "GEN $(notdir $@)"
@@ -131,11 +132,13 @@ $(BUILDDIR)/config/makepkg-i686.conf: config/makepkg/x86_64.conf
s,\(["'"'"=]\)x86[-_]64\([-"'"'" ]\),\1i686\2,g; \
s,-fcf-protection,,g; \
" "$<" > "$@"
+ @sed -i 's/--ultra -20/--ultra -19/' "$@"
$(BUILDDIR)/config/makepkg-pentium4.conf: $(BUILDDIR)/config/makepkg-i686.conf
@echo "GEN $(notdir $@)"
@mkdir -p $(dir $@)
@sed '/^CHOST=/ ! s,\(["=]\)i686\([-" ]\),\1pentium4\2,g' "$<" > "$@"
+ @sed -i 's/--ultra -20/--ultra -19/' "$@"
$(BUILDDIR)/config/pacman-%-i486.conf: config/pacman/%.conf
@echo "GEN $(notdir $@)"