Re: GNU make 3.81 with GCC 14#

Martin Husemann <[email protected]> Mon, 9 Sep 2024 09:36:44 +0200
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Mon, Sep 09, 2024 at 09:23:55AM +1200, Lloyd Parkes wrote:
> Does the following look like a good idea to add to
> tools/gmake/Makefile? I can create a PR for it easily enough.
> 
> 	.if ${HAVE_GCC} > 13
> 	HOST_CFLAGS+=		-std=gnu89
> 	.endif

HAVE_GCC is about the gcc we build in-tree for the target architecture
(i.e.: what tools/gcc will create). It is not about the HOST_CC or HOST_CXX
that we are using to build the tools.

Martin