Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/librsvg/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
index 2915a4eb..833cc0bb 100644
--- a/extra/librsvg/PKGBUILD
+++ b/extra/librsvg/PKGBUILD
@@ -23,3 +23,16 @@ eval "$(
s/make check/make check || true/
'
)"
+
+# use rust, not rustup, compiled rustc uses pentium3, non-SSE2 optimizations,
+# no clue what we get with rustup!
+
+makedepends=(${makedepends[@]//rustup/})
+makedepends+=('rust')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ s/rustup/#rustup/
+ '
+)"