FTBFS due to new LDFLAGS
Description:
Switch to mold linker to avoid build breakage if using current LDFLAGS
Additional info:
See kodi-stable-git in the AUR which is currently tracking the Omega branch.
- link to upstream bug report, if any: https://github.com/xbmc/xbmc/issues/24919
Steps to reproduce:
- Use the following current distro default
LDFLAGS
and try building
It should error out:
...
-- Check if compiler accepts -pthread - no
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:166 (find_package)
Edited by John