2014-07-17 16:13 GMT+02:00 Stuart Henderson <st...@openbsd.org>:
> 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

This WILL have regressions in ports. And I'm afraid that some of them
could pass build but fail at run-time. We need to check all ports that
play with CFLAGS then. While this probably isn't a bad idea, at the
present time it'll probably better to add a knob, off by default, that
disables unwanted behaviour, and postpone work on actual switch to
post-5.6. Yes, I'm volunteering to take part in that process post-5.6.

--
  WBR,
  Vadim Zhukov

Reply via email to