<table><tr><td style="">tcberner created this revision.<br />tcberner added reviewers: FreeBSD, KStars.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />tcberner requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25501">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>kstars appends -Wl,-z,nodump to the linker flags, which is not supported by lld>=7 (previous versions just discareded unkonwn flags).</p>
<p>Add an ecm module to check whether a linker flag is supported.</p>
<p>Add cmake module to check for support of the flag. (See also the abandoned <a href="https://phabricator.kde.org/D17863" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: line-through;">D17863</a>).</p>
<p>This should fix the build on FreeBSD CI.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Should be tested on Linux too.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25501">https://phabricator.kde.org/D25501</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
cmake/modules/CheckNodump.cmake</div></div></div><br /><div><strong>To: </strong>tcberner, FreeBSD, KStars<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>