mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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
This commit is contained in:
parent
1b022cf688
commit
6fc5b48f64
@ -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