summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/dhcp.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/dhcp.make b/rules/dhcp.make
index 5cdc7be21..48ff6f0d2 100644
--- a/rules/dhcp.make
+++ b/rules/dhcp.make
@@ -71,6 +71,12 @@ DHCP_CONF_OPT := \
--without-ldap-gssapi \
--without-ldapcasa
+ifdef PTXCONF_ARCH_PPC
+DHCP_CONF_ENV := \
+ $(CROSS_ENV) \
+ LIBS=-latomic
+endif
+
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------