* On 2022-07-07 at 16:58 BST, Jonathan Perkin wrote:
* On 2022-07-07 at 16:54 BST, David Shao wrote:Commenting out the recent change in pkgsrc/mk/compiler/clang.mk +.for _version_ in ${_C_STD_VERSIONS} +_C_STD_FLAG.${_version_}?= -std=${_version_} +.endfor allowed xf86-video-nouveau to build successfully.Interesting. What about if you duplicate the hack from gcc.mk: _C_STD_FLAG.c99= -std=gnu99 inserted after those settings?
Never mind, I've removed those overrides. We'll just go back to using whatever clang's current default -std is, given it's usually pretty up-to-date.
Sorry about the temporary fallout. Cheers, -- Jonathan Perkin - Joyent, Inc. - www.joyent.com