mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] dhcp: add -fcommon to CFLAGS
Date: Fri, 17 Jul 2020 08:16:23 +0200	[thread overview]
Message-ID: <20200717061623.GD27485@pengutronix.de> (raw)
In-Reply-To: <20200707104417.26597-1-p.zabel@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 <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"

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

      reply	other threads:[~2020-07-17  6:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-07 10:44 Philipp Zabel
2020-07-17  6:16 ` Michael Olbrich [this message]

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=20200717061623.GD27485@pengutronix.de \
    --to=m.olbrich@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