graphics/rawtherapee: Revert "pin GCC version to 13."

This reverts commit 7c091b1abc.

Reason I am reverting this is that I can set USE_GCC=14 and
happily compile, without or with LTO and/or native.

My conclusion is that rawtherapee is doing its things right,
but one of its libraries gets compiled for libstdc++, and pollutes
rawtherapee's program space but we don't give rawtherapee libstdc++
but libc++ on systems where the default compiler uses the latter.

PR:		284487
This commit is contained in:
Matthias Andree 2025-02-01 00:49:21 +01:00
parent 209307e6d5
commit 3aaa6f4874

View file

@ -113,14 +113,7 @@ OPENMP_LDFLAGS= -lm -lomp
# up to twice as fast as clang-16.0 compiled code. # up to twice as fast as clang-16.0 compiled code.
# So we shall stick to a modern GCC for now. # So we shall stick to a modern GCC for now.
# #
# However, libstdc++14 appears to have some parts spill over into USE_GCC= yes # default
# GCC14, and that breaks at link time with a linker error
# `undefined reference to `__cxa_call_terminate'
# that stems from our using the FreeBSD base system libc++
# because otherwise all other C++ libraries would have to
# be compiled with libstdc++ instead.
# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284487
USE_GCC= 13 # default as of 2025-01-31
.if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1500000) .if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1500000)
# don't waste everybody's time with Tier-2 and moving targets. # don't waste everybody's time with Tier-2 and moving targets.