From 76dd4287a2b3742009d7529c64c028a1ee22847a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 2 Feb 2022 21:17:24 +0100 Subject: extra/dhcp: added -latomic for i486 --- extra/dhcp/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 extra/dhcp/PKGBUILD (limited to 'extra/dhcp') diff --git a/extra/dhcp/PKGBUILD b/extra/dhcp/PKGBUILD new file mode 100644 index 00000000..e470c0e5 --- /dev/null +++ b/extra/dhcp/PKGBUILD @@ -0,0 +1,10 @@ +# add -latomic where needed (i486) +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + /configure/ i \ + export LDFLAGS="-latomic" + ' + )" +fi -- cgit v1.2.3-70-g09d2