From c960514cc02fc02950c2ad52a1e39ff65a04e83d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 3 Jul 2019 10:41:57 +0100 Subject: dhcp/ruby/ffpmeg: Use CFLAGS, not TARGET_CFLAGS There isn't anything specific about the target in these cases an in general recipes should touch CFLAGS. This ensures people don't copy/paste bad example usages. In reality, behaviour is mostly unchanged. (From OE-Core rev: ae6e7dd19b6da81090a38792dfdf31b459290466) Signed-off-by: Richard Purdie --- meta/recipes-connectivity/dhcp/dhcp.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-connectivity/dhcp') diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc b/meta/recipes-connectivity/dhcp/dhcp.inc index 18bbaf8841..c4697beaf1 100644 --- a/meta/recipes-connectivity/dhcp/dhcp.inc +++ b/meta/recipes-connectivity/dhcp/dhcp.inc @@ -43,7 +43,7 @@ INITSCRIPT_PACKAGES = "dhcp-server" INITSCRIPT_NAME_dhcp-server = "dhcp-server" INITSCRIPT_PARAMS_dhcp-server = "defaults" -TARGET_CFLAGS += "-D_GNU_SOURCE" +CFLAGS += "-D_GNU_SOURCE" EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=${localstatedir}/lib/dhcp/dhcpd6.leases \ --with-cli-lease-file=${localstatedir}/lib/dhcp/dhclient.leases \ -- cgit v1.2.3-54-g00ecf