diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-11 00:00:31 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-11 00:00:31 +0000 |
commit | 7f5f75dc5c17c74ae3890f7f0619303a5f5ab31c (patch) | |
tree | b8060ebd2f8110f529bbcf4f33a928f189eec6b4 /Makefile.rules | |
parent | 94e509caeab08edb27849ea9be5dc80e74d95f38 (diff) | |
download | external_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.rules | 2 |
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) |