mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] dhcp: add -fcommon to CFLAGS
@ 2020-07-07 10:44 Philipp Zabel
  2020-07-17  6:16 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2020-07-07 10:44 UTC (permalink / raw)
  To: ptxdist

Quick workaround to fix building with GCC 10.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/dhcp.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/dhcp.make b/rules/dhcp.make
index e131d3e9fe96..6677c2dc473c 100644
--- a/rules/dhcp.make
+++ b/rules/dhcp.make
@@ -39,9 +39,9 @@ DHCP_AUTOCONF := \
 	$(CROSS_AUTOCONF_USR) \
 	--$(call ptx/endis, PTXCONF_GLOBAL_IPV6)-dhcpv6
 
-# overwrite CFLAGS to remove -Werror
+# overwrite CFLAGS to remove -Werror, add -fcommon
 DHCP_MAKE_OPT := \
-	CFLAGS="-g -O2  -Wall -fno-strict-aliasing"
+	CFLAGS="-g -O2  -Wall -fno-strict-aliasing -fcommon"
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-17  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 10:44 [ptxdist] [PATCH] dhcp: add -fcommon to CFLAGS Philipp Zabel
2020-07-17  6:16 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox