diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-02-02 21:17:24 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-02-02 21:17:24 +0100 |
commit | 76dd4287a2b3742009d7529c64c028a1ee22847a (patch) | |
tree | 5a4b59c652e02857da0c1b8d5325b9af1463cd70 /extra | |
parent | 879733c7ab039b0391566d4a9d85af38bb5f6efa (diff) | |
download | packages-76dd4287a2b3742009d7529c64c028a1ee22847a.tar.xz |
extra/dhcp: added -latomic for i486
Diffstat (limited to 'extra')
-rw-r--r-- | extra/dhcp/PKGBUILD | 10 |
1 files changed, 10 insertions, 0 deletions
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 |