Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/librsvg
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-17 18:24:27 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-17 18:24:27 +0100
commit238f5f59f714323ff8b8f7fd43a7be4db625d31e (patch)
tree0c2bc4332bd63c1661ac63e1b95f474c02326d7a /extra/librsvg
parentd8a11321b96345cbbbe83f7de3238dd4f395d161 (diff)
extra/librsvg: trying to build a non-SSE2 version
Diffstat (limited to 'extra/librsvg')
-rw-r--r--extra/librsvg/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
new file mode 100644
index 00000000..e9d50e12
--- /dev/null
+++ b/extra/librsvg/PKGBUILD
@@ -0,0 +1,15 @@
+# target Pentium 3 without SSE2
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /autogen.sh/ i sed -i "/cargo build/RUSTFLAGS=\"-C target-cpu=pentium3\" cargo build/g" Makefile.am
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/make/make V=1/
+ '
+)"