From 62f12ef269063cbdf9c0d9c83e90a69f4d25e9b2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 25 Apr 2021 15:48:38 +0200 Subject: extra/suitesparse: added -latomic for i486 --- extra/suitesparse/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 extra/suitesparse/PKGBUILD (limited to 'extra') 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 -- cgit v1.2.3-70-g09d2