diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-04 04:32:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-04 04:32:50 +0000 |
commit | 1fce948ccbd67fff3fc7df954cd1c38f7991398d (patch) | |
tree | d63045d6979fb8adc0049d77931230a5b55e3201 /Makefile.rules | |
parent | 9111c4fef5a963f6d091e0a2401346fc98b521da (diff) | |
download | llvm-1fce948ccbd67fff3fc7df954cd1c38f7991398d.tar.gz llvm-1fce948ccbd67fff3fc7df954cd1c38f7991398d.tar.bz2 llvm-1fce948ccbd67fff3fc7df954cd1c38f7991398d.tar.xz |
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.rules | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Makefile.rules b/Makefile.rules index 33069184aa..b4a5a3798c 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. |