This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Don't add -fPIC on Windows
ClosedPublic

Authored by smeenai on Aug 31 2016, 1:33 PM.

Details

Summary

-fPIC doesn't make much sense for Windows, since Windows DLLs aren't
compiled position independent and are instead relocated at runtime.

Diff Detail

Event Timeline

smeenai updated this revision to Diff 69897.Aug 31 2016, 1:33 PM
smeenai retitled this revision from to [libc++] Don't add -fPIC on Windows.
smeenai updated this object.
smeenai added reviewers: compnerd, EricWF, mclow.lists.
smeenai added a subscriber: cfe-commits.
smeenai updated this object.Aug 31 2016, 1:34 PM
EricWF accepted this revision.Sep 1 2016, 11:22 AM
EricWF edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Sep 1 2016, 11:22 AM
compnerd closed this revision.Sep 1 2016, 1:58 PM
compnerd edited edge metadata.

SVN r280413