<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 1:44 PM, Alexey Samsonov <span dir="ltr"><<a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.</blockquote></div><br><cries a little></div><div class="gmail_extra"><br></div><div class="gmail_extra">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?</div><div class="gmail_extra"><br></div><div class="gmail_extra">We should probably have something target property oriented anyways because we'd want to filter -flto from the .S files too...</div></div>