svn commit: r323632 - in head/audio: penguinsap xmms-sapplug
Emanuel Haupt
ehaupt at critical.ch
Sat Jul 27 17:10:10 UTC 2013
John Marino <marino at FreeBSD.org> wrote:
> Author: marino
> Date: Thu Jul 25 09:38:40 2013
> New Revision: 323632
> URL: http://svnweb.freebsd.org/changeset/ports/323632
>
> Log:
> audio/xmms-sapp, audio/penguinsap: Rework exception flags
>
> The wrong C++ flag, --no-exceptions, was being passed to these
> ports. The correct flag is "-fno-exceptions". Apparently gcc
> accepts the former, but clang does not.
>
> The current code states that clang version 3.2 will accept
> --no-exceptions, but this isn't the case either. However, both of
> these ports will build without a no-exceptions flag with clang. GCC
> still requires it.
> Rework the clang detection code. If code is not detected,
> -fno-exceptions is added to CXXFLAGS, otherwise nothing is done.
> Besides fixing the flag handling, this implemention avoids the bmake
> errors that _CLANG!= was generating.
>
> Approved by: bapt (mentor), maintainer
Thank you very much!
Emanuel
More information about the svn-ports-head
mailing list