From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1jsl5G-0004TW-39 for ptxdist@pengutronix.de; Tue, 07 Jul 2020 12:44:18 +0200 From: Philipp Zabel Date: Tue, 7 Jul 2020 12:44:17 +0200 Message-Id: <20200707104417.26597-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] dhcp: add -fcommon to CFLAGS List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Quick workaround to fix building with GCC 10. Signed-off-by: Philipp Zabel --- 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