This is an archive of the discontinued LLVM Phabricator instance.

[libcxx{,abi}] Emit deplibs only when detected by CMake
ClosedPublic

Authored by mgorny on Dec 2 2019, 2:52 AM.

Details

Summary

This is a followup to 35bc5276ca3. It fixes the dependent libs usage
in libcxx and libcxxabi to link pthread and rt libraries only if CMake
detects them, rather than based on explicit platform blacklist.

Diff Detail

Event Timeline

mgorny created this revision.Dec 2 2019, 2:52 AM
phosek accepted this revision.Dec 2 2019, 12:10 PM

LGTM, thanks!

This revision is now accepted and ready to land.Dec 2 2019, 12:10 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2019, 1:24 PM