From e5582416f1cec35eeed37182e66a6d00aea0d7ea Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 22 Mar 2018 18:43:06 +0100 Subject: building pcre2 without jit (XMM registers are bad on i486) building git --- i486-stage4/git/DESCR | 2 ++ i486-stage4/pcre2/DESCR | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 i486-stage4/git/DESCR create mode 100644 i486-stage4/pcre2/DESCR (limited to 'i486-stage4') diff --git a/i486-stage4/git/DESCR b/i486-stage4/git/DESCR new file mode 100644 index 0000000..b8d96cd --- /dev/null +++ b/i486-stage4/git/DESCR @@ -0,0 +1,2 @@ +# no Gnome, draws in tons of things we don't want for a base system +sed -i "/makedepends=/s/'libgnome-keyring'//" PKGBUILD 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 -- cgit v1.2.3