X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=inline;f=Makefile.rules;h=74b5a32ae850e6f46f69748a01671eaa27fd2dab;hb=0011dc4738fbe624d44197ef9496517fd093eaa4;hp=55d4d1b703823b83e09868ce393fce31e4379911;hpb=b1dbcd886a4b5597a839f299054b78b33fb2d6df;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)