[PATCH] Require C99 for bfd

Hans-Peter Nilsson hp@bitrange.com
Thu Jan 30 05:41:00 GMT 2020


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



More information about the Binutils mailing list