summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-02 21:17:24 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-02 21:17:24 +0100
commit76dd4287a2b3742009d7529c64c028a1ee22847a (patch)
tree5a4b59c652e02857da0c1b8d5325b9af1463cd70 /extra
parent879733c7ab039b0391566d4a9d85af38bb5f6efa (diff)
downloadpackages-76dd4287a2b3742009d7529c64c028a1ee22847a.tar.xz
extra/dhcp: added -latomic for i486
Diffstat (limited to 'extra')
-rw-r--r--extra/dhcp/PKGBUILD10
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