Jonathan Gray:

> > 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).
> > 
> > Fix this situation by not initialising CXXFLAGS with CFLAGS.
> > No problems building src/xenocara with the following diff:
> 
> Here is the diff again.  If there are concerns on the ports
> side could someone doing ports bulk builds give this a try?

These ports failed in an amd64 bulk build:

graphics/aqsis
graphics/openimageio
graphics/simgear
math/cgal
net/icinga/core2
net/zeromq
security/encfs
x11/cegui

Looks like they all tweak CFLAGS and will now need to tweak CXXFLAGS
instead or in addition.

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to