Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/suitesparse
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-25 15:48:38 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-25 15:48:38 +0200
commit62f12ef269063cbdf9c0d9c83e90a69f4d25e9b2 (patch)
tree43be354c3e7cbc68173513571fc5b39cdf977d20 /extra/suitesparse
parent1db2649f580ce7db6a480324701c9f0d61171b47 (diff)
extra/suitesparse: added -latomic for i486
Diffstat (limited to 'extra/suitesparse')
-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