Quellcode durchsuchen

dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to in6addr_any when building with external CodeSourcery toolchain

SVN-Revision: 29777
Jo-Philipp Wich vor 14 Jahren
Ursprung
Commit
899de4adc9
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      package/dnsmasq/Makefile

+ 3 - 1
package/dnsmasq/Makefile

@@ -35,7 +35,9 @@ define Package/dnsmasq/conffiles
 /etc/dnsmasq.conf
 endef
 
-TARGET_CFLAGS += -ffunction-sections -fdata-sections
+TARGET_CFLAGS += \
+	-ffunction-sections -fdata-sections \
+	$(if $(CONFIG_IPV6),,-DNO_IPV6)
 
 MAKE_FLAGS := \
 	$(TARGET_CONFIGURE_OPTS) \