summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
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