forked from OSchip/llvm-project
Allow ENABLE_OPTIMIZED=0 to turn off optimization (turn on debug).
llvm-svn: 31655
This commit is contained in:
parent
c9fa36d706
commit
d185c02007
|
@ -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…
Reference in New Issue