From: Florian Fainelli Date: Sat, 16 Sep 2017 23:27:37 +0000 (-0700) Subject: dnsmasq: Pass TARGET_CPPFLAGS to Makefile X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ef485bb23d207e0b1031d264a6fafce01d2bdf8f;p=openwrt%2Fstaging%2Fdedeckeh.git dnsmasq: Pass TARGET_CPPFLAGS to Makefile With the introduction of the ubus notifications, we would now fail building dnsmasq with external toolchains that don't automatically search for headers. Pass TARGET_CPPFLAGS to the Makefile to resolve that. Fixes: 34a206bc1194 ("dnsmasq: add ubus notifications for new leases") Signed-off-by: Florian Fainelli --- diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index 57870a53b6..331e5fabe3 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -138,7 +138,7 @@ endif MAKE_FLAGS := \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ COPTS="$(COPTS)" \ PREFIX="/usr"