D25501: FreeBSD: lld does not support -Wl,-z,nodump
Tobias C. Berner
noreply at phabricator.kde.org
Sun Nov 24 08:03:27 GMT 2019
tcberner created this revision.
tcberner added reviewers: FreeBSD, KStars.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
tcberner requested review of this revision.
REVISION SUMMARY
kstars appends -Wl,-z,nodump to the linker flags, which is not supported by lld>=7 (previous versions just discareded unkonwn flags).
Add an ecm module to check whether a linker flag is supported.
Add cmake module to check for support of the flag. (See also the abandoned D17863 <https://phabricator.kde.org/D17863>).
This should fix the build on FreeBSD CI.
TEST PLAN
- Should be tested on Linux too.
REPOSITORY
R321 KStars
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D25501
AFFECTED FILES
CMakeLists.txt
cmake/modules/CheckNodump.cmake
To: tcberner, #freebsd, #kstars
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191124/390795d9/attachment-0001.html>
More information about the kde-edu
mailing list