From 253e9b2990b090162e389475c4ef419ff7e2c5d1 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 11 Nov 2009 00:28:38 +0000 Subject: [PATCH] llvm-gcc/clang don't (won't?) need this hack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86769 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelDAGToDAG.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index 2608365e58b..6a3577aaaf1 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -16,7 +16,8 @@ // // FIXME: This is a huge hack, to work around ridiculously awful compile times // on this file with gcc-4.2 on Darwin, in Release mode. -#if defined(__APPLE__) && defined(__OPTIMIZE__) && !defined(NDEBUG) +#if (!defined(__llvm__) && defined(__APPLE__) && \ + defined(__OPTIMIZE__) && !defined(NDEBUG)) #define NDEBUG #endif -- 2.34.1