[llvm] r351154 - gn build: Stop defining LLVM_ON_UNIX globally.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 18:42:47 PST 2019
Author: pcc
Date: Mon Jan 14 18:42:47 2019
New Revision: 351154
URL: http://llvm.org/viewvc/llvm-project?rev=351154&view=rev
Log:
gn build: Stop defining LLVM_ON_UNIX globally.
This macro is already being defined in llvm-config.h.
Differential Revision: https://reviews.llvm.org/D56626
Modified:
llvm/trunk/utils/gn/build/BUILD.gn
Modified: llvm/trunk/utils/gn/build/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/build/BUILD.gn?rev=351154&r1=351153&r2=351154&view=diff
==============================================================================
--- llvm/trunk/utils/gn/build/BUILD.gn (original)
+++ llvm/trunk/utils/gn/build/BUILD.gn Mon Jan 14 18:42:47 2019
@@ -5,11 +5,6 @@ import("//llvm/utils/gn/build/toolchain/
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" ]
}
More information about the llvm-commits
mailing list