Allow ENABLE_OPTIMIZED=0 to turn off optimization (turn on debug).

llvm-svn: 31655
This commit is contained in:
Reid Spencer 2006-11-11 00:00:31 +00:00
parent c9fa36d706
commit d185c02007
1 changed files with 1 additions and 1 deletions

View File

@ -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)