projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d5b7f
)
gn build: Stop defining LLVM_ON_UNIX globally.
author
Peter Collingbourne
<peter@pcc.me.uk>
Tue, 15 Jan 2019 02:42:47 +0000
(
02:42
+0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Tue, 15 Jan 2019 02:42:47 +0000
(
02:42
+0000)
This macro is already being defined in llvm-config.h.
Differential Revision: https://reviews.llvm.org/D56626
llvm-svn: 351154
llvm/utils/gn/build/BUILD.gn
patch
|
blob
|
history
diff --git
a/llvm/utils/gn/build/BUILD.gn
b/llvm/utils/gn/build/BUILD.gn
index
37aa431
..
9222d31
100644
(file)
--- a/
llvm/utils/gn/build/BUILD.gn
+++ b/
llvm/utils/gn/build/BUILD.gn
@@
-5,11
+5,6
@@
import("//llvm/utils/gn/build/toolchain/compiler.gni")
config("compiler_defaults") {
defines = []
- # FIXME: Don't define this globally here.
- if (host_os != "win") {
- defines += [ "LLVM_ON_UNIX" ]
- }
-
if (!llvm_enable_assertions) {
defines += [ "NDEBUG" ]
}