diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-29 18:47:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-29 18:47:13 +0000 |
commit | d95e3f2c12da8563aa0e2f905e30dd6c4d40823c (patch) | |
tree | 69262dcf25fcc4eaff5664e6554ba43a3bab4a6e /Makefile.rules | |
parent | 151880b020e33e12a0286612ec450051bd16f8e8 (diff) | |
download | llvm-d95e3f2c12da8563aa0e2f905e30dd6c4d40823c.tar.gz llvm-d95e3f2c12da8563aa0e2f905e30dd6c4d40823c.tar.bz2 llvm-d95e3f2c12da8563aa0e2f905e30dd6c4d40823c.tar.xz |
Move CompileCommonOpts to the end of the list so that EXTRA_OPTIONS=-O0 will
override the optimization level.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.rules b/Makefile.rules index b6ad1b56ad..d83292d0de 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -426,16 +426,16 @@ CPP.Flags += -I$(PROJ_OBJ_DIR) -I$(PROJ_SRC_DIR) \ -I$(LLVM_SRC_ROOT)/include \ $(CPP.BaseFlags) -Compile.C = $(CC) $(CPP.Flags) $(CompileCommonOpts) -c $(C.Flags) +Compile.C = $(CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -c LTCompile.C = $(LIBTOOL) $(LibTool.Flags) --mode=compile $(Compile.C) -BCCompile.C = $(LLVMGCCWITHPATH) $(CPP.Flags) $(CompileCommonOpts) \ - $(C.Flags) -Preprocess.C = $(CC) $(CPP.Flags) $(CompileCommonOpts) -E $(C.Flags) +BCCompile.C = $(LLVMGCCWITHPATH) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) +Preprocess.C = $(CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -E -Compile.CXX = $(CXX) $(CPP.Flags) $(CompileCommonOpts) $(CXX.Flags) -c +Compile.CXX = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) -c LTCompile.CXX = $(LIBTOOL) $(LibTool.Flags) --mode=compile $(Compile.CXX) -BCCompile.CXX = $(LLVMGXXWITHPATH) $(CPP.Flags) $(CompileCommonOpts) \ - $(CXX.Flags) +BCCompile.CXX = $(LLVMGXXWITHPATH) $(CPP.Flags) $(CXX.Flags) \ + $(CompileCommonOpts) + Preprocess.CXX= $(CXX) $(CPP.Flags) $(CompileCommonOpts) $(CXX.Flags) -E Link = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) \ $(LD.Flags) $(Strip) |