mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-03 08:11:52 +00:00
Allow ENABLE_OPTIMIZED=0 to turn off optimization (turn on debug).
llvm-svn: 31655
This commit is contained in:
parent
1aaa5f904c
commit
ecf811ba9d
@ -213,7 +213,7 @@ ifdef ENABLE_PROFILING
|
||||
C.Flags := $(OPTIMIZE_OPTION) -pg -g
|
||||
LD.Flags := $(OPTIMIZE_OPTION) -pg -g
|
||||
else
|
||||
ifdef ENABLE_OPTIMIZED
|
||||
ifeq ($(ENABLE_OPTIMIZED),1)
|
||||
BuildMode := Release
|
||||
# Don't use -fomit-frame-pointer on Darwin or FreeBSD.
|
||||
ifneq ($(OS),FreeBSD)
|
||||
|
Loading…
x
Reference in New Issue
Block a user