libcxxrt: allow build with gcc13 and --no-undefined-version
authorBrooks Davis <brooks@FreeBSD.org>
Fri, 17 May 2024 20:22:22 +0000 (21:22 +0100)
committerBrooks Davis <brooks@FreeBSD.org>
Fri, 17 May 2024 20:50:57 +0000 (21:50 +0100)
commit1062db30700230a26fdc90088a4e2bdb6b6e4d6d
tree8dcc668a0ed9d7ef22bd5d626679a25fc9e1e0f1
parentf7d45c5443edc99857fdda19c68301b5ec4a8971
libcxxrt: allow build with gcc13 and --no-undefined-version

GCC 13 supports _Float16 and __int128 on fewer architectures than clang
and thus libcxxrt compiled with gcc13 is sometimes missing related
symbols.  Hack around this by explicitly appending --undefined-version
to LDFLAGS in problematic cases.

Reviewed by: theraven, dim
Differential Revision: https://reviews.freebsd.org/D45233
lib/libcxxrt/Makefile