Changes in directory llvm/lib/CodeGen:

Makefile updated: 1.29 -> 1.30
---
Log message:

Fix the build on xcode < 2.4


---
Diffs of the changes:  (+7 -0)

 Makefile |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/lib/CodeGen/Makefile
diff -u llvm/lib/CodeGen/Makefile:1.29 llvm/lib/CodeGen/Makefile:1.30
--- llvm/lib/CodeGen/Makefile:1.29      Thu Nov  2 17:56:21 2006
+++ llvm/lib/CodeGen/Makefile   Fri Nov  3 13:13:59 2006
@@ -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



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to