1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Warn of potential violations of strict aliasing rules.

llvm-svn: 52027
This commit is contained in:
Evan Cheng 2008-06-05 23:00:08 +00:00
parent badbe3e3fa
commit 9d5a811ae1

View File

@ -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)