This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Use flags found when configuring builtins during compilation
ClosedPublic

Authored by fjricci on Aug 19 2016, 3:37 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

fjricci updated this revision to Diff 68742.Aug 19 2016, 3:37 PM
fjricci retitled this revision from to [compiler-rt] Use flags found when configuring builtins during compilation.
fjricci updated this object.
fjricci added reviewers: beanz, compnerd.
fjricci added a subscriber: llvm-commits.
beanz accepted this revision.Aug 19 2016, 4:06 PM
beanz edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 19 2016, 4:06 PM
This revision was automatically updated to reflect the committed changes.

This change breaks on certain sysroots, because of -ffreestanding. I removed that flag in rL279496, after verifying that the non-standalone build also doesn't add this flag by default.