[source] dnsmasq: Pass TARGET_CPPFLAGS to Makefile
LEDE Commits
lede-commits at lists.infradead.org
Sat Sep 16 16:39:18 PDT 2017
florian pushed a commit to source.git, branch master:
https://git.lede-project.org/ef485bb23d207e0b1031d264a6fafce01d2bdf8f
commit ef485bb23d207e0b1031d264a6fafce01d2bdf8f
Author: Florian Fainelli <f.fainelli at gmail.com>
AuthorDate: Sat Sep 16 16:27:37 2017 -0700
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 <f.fainelli at gmail.com>
---
package/network/services/dnsmasq/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile
index 57870a5..331e5fa 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"
More information about the lede-commits
mailing list