mirror of https://github.com/hak5/openwrt.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:lede-17.0134a206bc11
("dnsmasq: add ubus notifications for new leases") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> (cherry picked from commitef485bb23d
)
parent
2f80d84638
commit
9cf371c1f4
|
@ -137,7 +137,7 @@ endif
|
||||||
|
|
||||||
MAKE_FLAGS := \
|
MAKE_FLAGS := \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
COPTS="$(COPTS)" \
|
COPTS="$(COPTS)" \
|
||||||
PREFIX="/usr"
|
PREFIX="/usr"
|
||||||
|
|
Loading…
Reference in New Issue