From: Peter Collingbourne Date: Tue, 15 Jan 2019 02:42:47 +0000 (+0000) Subject: gn build: Stop defining LLVM_ON_UNIX globally. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f15bc801805e53d4f85a62eb88e233c427da344;p=llvm 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351154 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/gn/build/BUILD.gn b/utils/gn/build/BUILD.gn index 37aa4311651..9222d31bdf4 100644 --- a/utils/gn/build/BUILD.gn +++ b/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" ] }