X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.rules;h=74b5a32ae850e6f46f69748a01671eaa27fd2dab;hb=98301c07740124e4cf86cc8ad46b2c9f3f6c5987;hp=c74c46c56c5ed2b8aeb7374baf35e4e1b7df7c70;hpb=babf11f249c7c6399c66f2567d4e7efa9c37a9c3;p=oota-llvm.git diff --git a/Makefile.rules b/Makefile.rules index c74c46c56c5..74b5a32ae85 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -226,7 +226,7 @@ else # Darwin requires -fstrict-aliasing to be explicitly enabled. ifeq ($(OS),Darwin) - EXTRA_OPTIONS += -fstrict-aliasing + EXTRA_OPTIONS += -fstrict-aliasing -Wstrict-aliasing endif CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer) @@ -451,11 +451,6 @@ ifdef UNIVERSAL DISABLE_AUTO_DEPENDENCIES=1 endif -# Solaris requires the following flags to compile -ifeq ($(OS),SunOS) -CXX.Flags += -D_POSIX_C_SOURCE=199506L -U_XOPEN_SOURCE -endif - LD.Flags += -L$(LibDir) -L$(LLVMLibDir) CPP.BaseFlags += -D_GNU_SOURCE -D__STDC_LIMIT_MACROS # All -I flags should go here, so that they don't confuse llvm-config.