This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Require C99 for bfd
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: cbiesinger at chromium dot org
- Cc: binutils at sourceware dot org, Christian Biesinger <cbiesinger at google dot com>
- Date: Thu, 30 Jan 2020 00:41:03 -0500 (EST)
- Subject: Re: [PATCH] Require C99 for bfd
- References: <20200129140820.218587-1-cbiesinger@chromium.org>
On Wed, 29 Jan 2020, cbiesinger@chromium.org wrote:
> diff --git a/bfd/Makefile.am b/bfd/Makefile.am
> index d32640a12c..825a092000 100644
> --- a/bfd/Makefile.am
> +++ b/bfd/Makefile.am
> @@ -23,6 +23,11 @@ ACLOCAL_AMFLAGS = -I . -I .. -I ../config
> INCDIR = $(srcdir)/../include
> CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
>
> +# This is needed because the toplevel Makefile will always pass CC on the
> +# commandline, with the value from the toplevel configure which does not
> +# include the C99 flag.
> +override CC = @CC@
> +
Do we require GNU make to build binutils (and gdb) yet?
If not, how compatible is that "override"?
brgds, H-P