[Skiboot] [PATCH 5/6] Enforce GNU 11 as default C dialect
stewart at linux.vnet.ibm.com
Thu Aug 13 15:51:27 AEST 2015
Joel Stanley <joel at jms.id.au> writes:
> We do not set a C version level, leaving it to the compiler to enforce
> whatever it saw fit.
> We require GCC 4.8 or above, which supports C11, and GCC 5.2 and clang
> 3.7 default to this version of the standard, so set it as the default.
I switched it to do the "detect if it's supported" thing that I
introduced yesterday, so we'll work out for HOSTCC and CC if it's
supported and pass down if so.
Some people have crazy old compilers, and I'll happily rant about that,
but only with suitable beer supply, which, prior to my afternoon run, I
should not avail myself of :)
More information about the Skiboot