X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.rules;h=74b5a32ae850e6f46f69748a01671eaa27fd2dab;hb=72b7b098c7ccac55e1dfc19a4c144bf5d8d30929;hp=55d4d1b703823b83e09868ce393fce31e4379911;hpb=652f7ea955bb433d6b7a4d33685dca9485fd7b8b;p=oota-llvm.git diff --git a/Makefile.rules b/Makefile.rules index 55d4d1b7038..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)