HomeFreeBSD

editors/libreoffice: fix build with lld 17 (take 2)

Description

editors/libreoffice: fix build with lld 17 (take 2)

Building editors/libreoffice with lld 17 results in the following link
errors:

ld: error: version script assignment of 'PRIVATE_1.4' to symbol '_ZN3sal13backtrace_getEm' failed: symbol not defined
ld: error: version script assignment of 'GLIBCXX_3.4' to symbol '_ZNSs4_Rep20_S_empty_rep_storageE' failed: symbol not defined

Add -Wl,--undefined-version to LDFLAGS to suppress these error, as the
previous fix did not work in all cases.

PR: 274697
Approved by: office (blanket)
Fixes: 6338934b7c42
MFH: 2024Q4

Details

Provenance
dimAuthored on Nov 1 2023, 10:27 PM
Parents
R11:628fb375a5d4: editors/libreoffice: revert previous fix for building with lld 17
Branches
Unknown
Tags
Unknown