Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/suitesparse/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/suitesparse/PKGBUILD')
-rw-r--r--extra/suitesparse/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/suitesparse/PKGBUILD b/extra/suitesparse/PKGBUILD
new file mode 100644
index 00000000..92876753
--- /dev/null
+++ b/extra/suitesparse/PKGBUILD
@@ -0,0 +1,10 @@
+# needs atomic library on i486
+# TODO: some demos segfault
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s|make|LDFLAGS=-latomic make|
+ '
+ )"
+fi