summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-04 23:14:49 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-06 15:12:39 +0100
commit3488a38e60a48fd478f7acc42967c7317373ad43 (patch)
treed9a6dac8ef936ccdec4bbc5f959678cd5235a911 /meta/recipes-connectivity
parent97bef7627ba86750d8fb746a92fe0eea129d98c0 (diff)
downloadpoky-3488a38e60a48fd478f7acc42967c7317373ad43.tar.gz
dhcp: Use -fcommon compiler option
This ensures -fcommon is still used when compiler defaults to -fno-common in gcc10 and clang11 Fixes dhcp-4.4.2/server/mdb.c:70: multiple definition of `dhcp_type_host'; dhcpd-omapi.o:/usr/src/debug/dhcp/4.4.2-r0/dhcp-4.4.2/server/omapi.c:50: first defined here (From OE-Core rev: ee585ced8e48bca508c03ce71741bbcd672ee80d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb b/meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb
index b56a204821..cf4af82609 100644
--- a/meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb
+++ b/meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb
@@ -19,3 +19,5 @@ LDFLAGS_append = " -pthread"
19 19
20PACKAGECONFIG ?= "" 20PACKAGECONFIG ?= ""
21PACKAGECONFIG[bind-httpstats] = "--with-libxml2,--without-libxml2,libxml2" 21PACKAGECONFIG[bind-httpstats] = "--with-libxml2,--without-libxml2,libxml2"
22
23CFLAGS += "-fcommon"