tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GNU make 3.81 with GCC 14#



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


Home | Main Index | Thread Index | Old Index