pkgsrc-Users archive

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

Re: Base clang builds after 2022-07-05 mk: Add support for newer C standards.



* 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?

--
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index