]> code.ossystems Code Review - openembedded-core.git/commit
dhcp: Use -fcommon compiler option
authorKhem Raj <raj.khem@gmail.com>
Wed, 5 Aug 2020 06:14:49 +0000 (23:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Aug 2020 14:12:34 +0000 (15:12 +0100)
commitee585ced8e48bca508c03ce71741bbcd672ee80d
tree0aca03fdcd550a4c93ce438f9fa653d0a813433e
parent6cd2cf6525bcb241b3a2538e559fcef2a2084a7e
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb