This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Require C99 for bfd


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]