This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Pass -nostdlib if supported
ClosedPublic

Authored by Hahnfeld on Aug 1 2016, 1:06 AM.

Diff Detail

Event Timeline

Hahnfeld updated this revision to Diff 66285.Aug 1 2016, 1:06 AM
Hahnfeld retitled this revision from to [CMake] Pass -nostdlib if supported.
Hahnfeld updated this object.
Hahnfeld added reviewers: fjricci, beanz, compnerd.
Hahnfeld added a subscriber: llvm-commits.
beanz accepted this revision.Aug 1 2016, 11:02 AM
beanz edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Aug 1 2016, 11:02 AM
This revision was automatically updated to reflect the committed changes.

Apparently this hasn't worked that good: It seems my local linker just magically adds -lc. We could manually add it to the flags but I don't quite like that because that should be the compiler's job...