Prevent the -pedantic option from causing Mac OS/X build problems:
authorReid Spencer <rspencer@reidspencer.com>
Thu, 1 Jun 2006 06:12:21 +0000 (06:12 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 1 Jun 2006 06:12:21 +0000 (06:12 +0000)
LiveIntervalAnalysis.cpp:218: error: floating constant exceeds range of 'double'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28620 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/Makefile

index 744f8e937b9bc5f0d02e244542bfc66b98640381..e77a53a337d18680fcdb21db5d23ae500affeea1 100644 (file)
@@ -12,3 +12,6 @@ LIBRARYNAME = LLVMCodeGen
 PARALLEL_DIRS = SelectionDAG
 
 include $(LEVEL)/Makefile.common
+
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))