mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 18:04:59 +00: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.
|
# Darwin requires -fstrict-aliasing to be explicitly enabled.
|
||||||
ifeq ($(OS),Darwin)
|
ifeq ($(OS),Darwin)
|
||||||
EXTRA_OPTIONS += -fstrict-aliasing
|
EXTRA_OPTIONS += -fstrict-aliasing -Wstrict-aliasing
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
|
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user