[compiler-rt] r225049 - Avoid building compiler-rt with LTO.

Chandler Carruth chandlerc at google.com
Fri Jan 2 13:52:51 PST 2015


On Fri, Jan 2, 2015 at 1:44 PM, Alexey Samsonov <vonosmas at gmail.com> wrote:

> Right, we explicitly set LANGUAGE property to "C" for ASM sources for both
> tsan and builtins runtimes. IIRC there were problems with CMake ASM build
> system, that led to .S files dropped from the library if we don't do this.


<cries a little>

OK, so maybe use specific target properties to filter -fno-lto? Or to add
it to the non-.S files? Or some other terribleness I've not thought of?

We should probably have something target property oriented anyways because
we'd want to filter -flto from the .S files too...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150102/c069f077/attachment.html>


More information about the llvm-commits mailing list