tech-toolchain archive

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

Re: -std=gnu99



On Fri, May 16, 2014 at 09:10:12PM +0100, Iain Hibbert wrote:
 > I mean to change bsd.sys.mk to always provide -std=gnu99 in CFLAGS as per
 > below patch, as if the code base requires gnu99 then it will require it
 > whichever compiler is in use.

...why break the build system so as to pass a gcc (and clang) option
to potentially arbitrary other compilers that won't understand it?

AIUI it should be conditionalized on ACTIVE_CC, but it should still be
conditionalized.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index