X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FMakefile;h=7e5d8ee833913c13db4a2a482b1a5d764cd4dc12;hb=2b4c279a8e203fa8b13adf7ba3a5d4c8bef70df3;hp=a2ad0fd49cfda8f9c0003b194233da28217ded83;hpb=97821311a32b5ca11b5f843f90a85875feb7d142;p=oota-llvm.git diff --git a/lib/CodeGen/Makefile b/lib/CodeGen/Makefile index a2ad0fd49cf..7e5d8ee8339 100644 --- a/lib/CodeGen/Makefile +++ b/lib/CodeGen/Makefile @@ -13,3 +13,10 @@ PARALLEL_DIRS = SelectionDAG BUILD_ARCHIVE = 1 include $(LEVEL)/Makefile.common + +# 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 +