CVSROOT:        /cvs
Module name:    xenocara
Changes by:     j...@cvs.openbsd.org    2019/12/06 20:09:41

Modified files:
        lib/mesa       : configure.ac 

Log message:
build Mesa with _ISOC11_SOURCE for c11 visibility

autoconf function tests run without --std and have c11 visibility
timespec_get(3), a c11 function is found this way.

With gcc < 4.6 Mesa will build with --std=gnu99 with clang it will
build with --std=c99 and timespec_get() will no longer be visibile.
Further complicating things gcc 4.2 does not recognise --std=c11.

This was not noticed on linux as they build with _GNU_SOURCE which
among other things gives c11 visibility even with --std=c99.

discussed with millert@

Reply via email to