From 2cd6e3b427c9d27b0f62533e7e5f172d90b5adcc Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 10 May 2024 18:58:02 +0200 Subject: extra/samba: -latomic for io486 --- extra/samba/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'extra/samba') diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD index d288fca1..131948ae 100644 --- a/extra/samba/PKGBUILD +++ b/extra/samba/PKGBUILD @@ -15,3 +15,12 @@ eval "$( s|./configure|./configure --disable-cephfs| ' )" + +if test "$CARCH" == "i486"; then + eval "$( + declare -f build | \ + sed ' + s|./configure|LDFLAGS=-latomic ./configure| + ' + )" +fi -- cgit v1.2.3-70-g09d2