1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

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 1aaa5f904c
commit ecf811ba9d

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)