diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-06-05 23:00:08 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-06-05 23:00:08 +0000 |
commit | 6fc5b48f64cad8fc5dc48102da06ddcc5d7710ec (patch) | |
tree | 922be25a83327049d74a31b99b64f1b97f035cd8 | |
parent | 1b022cf6889bc02be0e1d1b0f3445f3b10206b79 (diff) |
Warn of potential violations of strict aliasing rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52027 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index 55d4d1b703..74b5a32ae8 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) |