From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jwJfT-0005G9-PJ for ptxdist@pengutronix.de; Fri, 17 Jul 2020 08:16:23 +0200 Received: from mol by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jwJfT-0000jl-Gm for ptxdist@pengutronix.de; Fri, 17 Jul 2020 08:16:23 +0200 Date: Fri, 17 Jul 2020 08:16:23 +0200 From: Michael Olbrich Message-ID: <20200717061623.GD27485@pengutronix.de> References: <20200707104417.26597-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200707104417.26597-1-p.zabel@pengutronix.de> Subject: Re: [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 On Tue, Jul 07, 2020 at 12:44:17PM +0200, Philipp Zabel wrote: > 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" No. This package needs updating. The version we use right now is almost a decade old and there is a new release from this year. Michael > > # ---------------------------------------------------------------------------- > # Target-Install > -- > 2.20.1 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de