1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/audio/xmms-sapplug
John Marino a9220e6634 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
2013-07-25 09:38:40 +00:00
..
files
distinfo
Makefile audio/xmms-sapp, audio/penguinsap: Rework exception flags 2013-07-25 09:38:40 +00:00
pkg-descr
pkg-message