diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-03 19:13:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-03 19:13:59 +0000 |
commit | 070971866586bb0f45c7e5001b63ced0a1b64387 (patch) | |
tree | 951ae22bc5694c4589c5102b89445b357f817b8b /lib/CodeGen/Makefile | |
parent | b2ed0526ce53e6418ddf3aef42f7abeffd8d7346 (diff) | |
download | llvm-070971866586bb0f45c7e5001b63ced0a1b64387.tar.gz llvm-070971866586bb0f45c7e5001b63ced0a1b64387.tar.bz2 llvm-070971866586bb0f45c7e5001b63ced0a1b64387.tar.xz |
Fix the build on xcode < 2.4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Makefile')
-rw-r--r-- | lib/CodeGen/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/Makefile b/lib/CodeGen/Makefile index a2ad0fd49c..e7d13f2722 100644 --- a/lib/CodeGen/Makefile +++ b/lib/CodeGen/Makefile @@ -8,8 +8,15 @@ ##===----------------------------------------------------------------------===## LEVEL = ../.. +include $(LEVEL)/Makefile.config LIBRARYNAME = LLVMCodeGen PARALLEL_DIRS = SelectionDAG BUILD_ARCHIVE = 1 +# Xcode prior to 2.4 generates an error in -pedantic mode with use of HUGE_VAL +# in this directory. Disable -pedantic for this broken compiler. +ifneq ($(HUGE_VAL_SANITY),yes) +CompileCommonOpts := $(filter-out -pedantic, $(CompileCommonOpts)) +endif + include $(LEVEL)/Makefile.common |