aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-04 04:32:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-04 04:32:50 +0000
commitca58fd8d29aa31703adf240118e6031be84c3808 (patch)
treed63045d6979fb8adc0049d77931230a5b55e3201 /Makefile.rules
parent3072a0705d8acd8aad61b8591362367c428a3c19 (diff)
downloadexternal_llvm-ca58fd8d29aa31703adf240118e6031be84c3808.zip
external_llvm-ca58fd8d29aa31703adf240118e6031be84c3808.tar.gz
external_llvm-ca58fd8d29aa31703adf240118e6031be84c3808.tar.bz2
configure: Add --with-optimize-option, for setting the default value of
OPTIMIZE_OPTION. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules10
1 files changed, 0 insertions, 10 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 3306918..b4a5a37 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -312,16 +312,6 @@ endif
#--------------------------------------------------------------------
CPP.Defines :=
-# OPTIMIZE_OPTION - The optimization level option we want to build LLVM with
-# this can be overridden on the make command line.
-ifndef OPTIMIZE_OPTION
- ifneq ($(HOST_OS),MingW)
- OPTIMIZE_OPTION := -O3
- else
- OPTIMIZE_OPTION := -O2
- endif
-endif
-
ifeq ($(ENABLE_OPTIMIZED),1)
BuildMode := Release
# Don't use -fomit-frame-pointer on Darwin or FreeBSD.