aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-11 00:00:31 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-11 00:00:31 +0000
commit7f5f75dc5c17c74ae3890f7f0619303a5f5ab31c (patch)
treeb8060ebd2f8110f529bbcf4f33a928f189eec6b4 /Makefile.rules
parent94e509caeab08edb27849ea9be5dc80e74d95f38 (diff)
downloadexternal_llvm-7f5f75dc5c17c74ae3890f7f0619303a5f5ab31c.zip
external_llvm-7f5f75dc5c17c74ae3890f7f0619303a5f5ab31c.tar.gz
external_llvm-7f5f75dc5c17c74ae3890f7f0619303a5f5ab31c.tar.bz2
Allow ENABLE_OPTIMIZED=0 to turn off optimization (turn on debug).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 5af82a8..1eb072a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -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)