From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] dhcp: add -fcommon to CFLAGS
Date: Tue, 7 Jul 2020 12:44:17 +0200 [thread overview]
Message-ID: <20200707104417.26597-1-p.zabel@pengutronix.de> (raw)
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
next reply other threads:[~2020-07-07 10:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-07 10:44 Philipp Zabel [this message]
2020-07-17 6:16 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200707104417.26597-1-p.zabel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox