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:
parent
badbe3e3fa
commit
9d5a811ae1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user