[llvm-dev] (Thin)LTO llvm build (original) (raw)
Carsten Mattner via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 4 10:15:03 PDT 2016
- Previous message: [llvm-dev] (Thin)LTO llvm build
- Next message: [llvm-dev] (Thin)LTO llvm build
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 4, 2016 at 2:22 AM, Xinliang David Li <xinliangli at gmail.com> wrote:
For clang build, cmake flags:
_-DCMAKEEXELINKERFLAGS=-fuse-ld=gold _ _-DCMAKEMODULELINKERFLAGS=-fuse-ld=gold _ _-DCMAKESHAREDLINKERFLAGS=-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?
- Previous message: [llvm-dev] (Thin)LTO llvm build
- Next message: [llvm-dev] (Thin)LTO llvm build
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]