Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/librsvg
diff options
context:
space:
mode:
Diffstat (limited to 'extra/librsvg')
-rw-r--r--extra/librsvg/PKGBUILD20
1 files changed, 5 insertions, 15 deletions
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
index cd6cb47c..764a52d0 100644
--- a/extra/librsvg/PKGBUILD
+++ b/extra/librsvg/PKGBUILD
@@ -1,5 +1,7 @@
-# target Pentium 3 without SSE2
-if [ "$CARCH" = 'i686' ]; then
+# i686: target Pentium 3 without SSE2
+# pentium4: target pentium3 with SSE2 (disabled as it fails hapilly in
+# microoptimizations for now)
+if [ "$CARCH" = 'i686' -o "$CARCH" = 'pentium4' ]; then
eval "$(
declare -f prepare | \
sed '
@@ -7,21 +9,12 @@ if [ "$CARCH" = 'i686' ]; then
'
)"
fi
-# pentium4: target pentium3 with SSE2
-if [ "$CARCH" = 'pentium4' ]; then
- eval "$(
- declare -f prepare | \
- sed '
- /autogen.sh/ i sed -i \"s/\\\$(CARGO).* build/RUSTFLAGS=\\"-C target-cpu=pentium3\\" \\0/g\" Makefile.am
- '
- )"
-fi
# do not kill slaves with massive parallel rust builds
eval "$(
declare -f build | \
sed '
- s/make/make V=1/
+ s/make/make -j1/
'
)"
@@ -34,6 +27,3 @@ eval "$(
s/make check/make check || true/
'
)"
-
-# temporary to make it build with rust and LLVM12
-makedepends+=(llvm12-libs)