aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2014-08-11 09:12:23 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-13 23:28:03 +0200
commite87a84abd470ce3f963a7640aee4051640c8c8b6 (patch)
treea1204c1c9df658ae463be54aa765c1474c57c66b
parent7ba7f53075a68394286eafeb629788b3876d5beb (diff)
downloadmeta-openembedded-contrib-e87a84abd470ce3f963a7640aee4051640c8c8b6.tar.gz
meta-openembedded-contrib-e87a84abd470ce3f963a7640aee4051640c8c8b6.tar.bz2
meta-openembedded-contrib-e87a84abd470ce3f963a7640aee4051640c8c8b6.zip
dnsmasq: obey CFLAGS & LDFLAGS
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-networking/recipes-support/dnsmasq/dnsmasq.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
index 71a491fcb9..7037cb1351 100644
--- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
@@ -22,6 +22,10 @@ INITSCRIPT_PARAMS = "defaults"
PACKAGECONFIG ??= ""
PACKAGECONFIG[dbus] = "COPTS=-DHAVE_DBUS,,dbus"
EXTRA_OEMAKE = "${EXTRA_OECONF}"
+EXTRA_OEMAKE += "\
+ 'CFLAGS=${CFLAGS}' \
+ 'LDFLAGS=${LDFLAGS}' \
+"
do_compile_append() {
# build dhcp_release