On 2014/07/18 00:10, Jonathan Gray wrote: > sys.mk automatically gets included by make(1) and sets CXXFLAGS to > CFLAGS. If a Makefile defines additional CFLAGS they will then be > passed to the C++ compiler. Which creates problems with flags > that should only be used by the C compiler in Makefiles that > deal with both C and C++ (like Mesa).
this may have repercussions in ports