]> granicus.if.org Git - llvm/commit
gn build: Move target flags from toolchain to a .gni file.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jan 2019 21:24:00 +0000 (21:24 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jan 2019 21:24:00 +0000 (21:24 +0000)
commitc61ff3fc40968d5034bb607ff3e723344606dfaa
tree4ca9db368466f33298c02f7be35684cde9f24a14
parentb2800c91d94c27c35d6f371819f6e4d6fb3e5404
gn build: Move target flags from toolchain to a .gni file.

While here, add a use_lld flag and default it to true when using
clang on non-mac.

Differential Revision: https://reviews.llvm.org/D56710

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351248 91177308-0d34-0410-b5e6-96231b3b80d8
utils/gn/build/BUILD.gn
utils/gn/build/toolchain/BUILD.gn
utils/gn/build/toolchain/compiler.gni
utils/gn/build/toolchain/target_flags.gni [new file with mode: 0644]