This is an archive of the discontinued LLVM Phabricator instance.

llvm-config: Set LinkMode in addition to LinkDyLib when using --ignore-llvm
ClosedPublic

Authored by dschuff on Dec 13 2016, 3:07 PM.

Details

Summary

LinkDyLib is only used (before arg processing) to set up the default for
LinkMode. So reset LinkMode as well, and process before --link-shared or
--link-static to allow those flags to continue to override it.

Diff Detail

Repository
rL LLVM

Event Timeline

dschuff updated this revision to Diff 81314.Dec 13 2016, 3:07 PM
dschuff retitled this revision from to llvm-config: Set LinkMode in addition to LinkDyLib when using --ignore-llvm.
dschuff updated this object.
dschuff added a reviewer: beanz.
dschuff added a subscriber: llvm-commits.
beanz accepted this revision.Dec 13 2016, 3:09 PM
beanz edited edge metadata.

LGTM! Thanks!

This revision is now accepted and ready to land.Dec 13 2016, 3:09 PM
This revision was automatically updated to reflect the committed changes.