Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage4/pcre2/DESCR
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-22 18:43:06 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-22 18:43:06 +0100
commite5582416f1cec35eeed37182e66a6d00aea0d7ea (patch)
tree09162c03fae8e4e8afb1e32ace65b4beb36a338b /i486-stage4/pcre2/DESCR
parente380052c95583a7ee343096415717cfadd031210 (diff)
building pcre2 without jit (XMM registers are bad on i486)
building git
Diffstat (limited to 'i486-stage4/pcre2/DESCR')
-rw-r--r--i486-stage4/pcre2/DESCR6
1 files changed, 6 insertions, 0 deletions
diff --git a/i486-stage4/pcre2/DESCR b/i486-stage4/pcre2/DESCR
new file mode 100644
index 0000000..56ea041
--- /dev/null
+++ b/i486-stage4/pcre2/DESCR
@@ -0,0 +1,6 @@
+# pcre2 configure, overload CFLAGS and CXXFLAGS to avoid optimization
+# using MMX registers (default in gcc)
+sed -i 's@./configure@CFLAGS="-march=i486 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt" CXXFLAGS="-march=i486 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt" ./configure@' PKGBUILD
+
+# disable JIT, contains hard coded XMM registers
+sed -i 's/--enable-jit/--disable-jit/' PKGBUILD