Displaying 2 results from an estimated 2 matches for "dcmake_cxxflags".
Did you mean:
dcmake_cxx_flags
2016 Oct 04
0
(Thin)LTO llvm build
...DULE_LINKER_FLAGS=-fuse-ld=gold \
> > -DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=gold \
>
> Thanks, this didn't break the cmake run.
>
> I've been successfully using LDFLAGS, CXXFLAGS, CPPFLAGS, CFLAGS.
> It works, but now I wonder if it's safer to pass those via a
> -DCMAKE_CXXFLAGS.
> Any idea? If so, what are the LLVM CMake variables to set ldflags,
> cxxflags, cppflags, cflags?
>
I think the above cmake variables from David essentially set ldflags for
various types of links, which is where you need -fuse-ld, so no need to
pass them to c*flags.
Hopefully your Thin...
2016 Oct 04
4
(Thin)LTO llvm build
On Mon, Oct 3, 2016 at 10:54 PM, Teresa Johnson <tejohnson at google.com> wrote:
>
> Aha - finally reproduced! The difference is using ld.bfd not
> ld.gold. With that I get the same failure (using 3.9 to build 3.9
> sources):
Thanks a lot!
[...]
> I am not sure what the official support story is for LLVMgold.so and
> ld.bfd. As mentioned earlier, the LLVM site indicates