mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Avoid -O3 on Darwin for now.
llvm-svn: 68455
This commit is contained in:
parent
ff25f858fd
commit
f8e3eea558
@ -229,10 +229,12 @@ endif
|
||||
CPP.Defines :=
|
||||
# OPTIMIZE_OPTION - The optimization level option we want to build LLVM with
|
||||
# this can be overridden on the make command line.
|
||||
ifneq ($(OS),MingW)
|
||||
OPTIMIZE_OPTION := -O3
|
||||
else
|
||||
# Avoid -O3 on Darwin, there are unresolved issues with
|
||||
# -fstrict-aliasing and ipa-type-escape radr://6756684
|
||||
ifeq ($(OS), $(filter $(OS), MingW Darwin))
|
||||
OPTIMIZE_OPTION := -O2
|
||||
else
|
||||
OPTIMIZE_OPTION := -O3
|
||||
endif
|
||||
|
||||
ifdef ENABLE_PROFILING
|
||||
|
Loading…
Reference in New Issue
Block a user