Changeset 1058 in kBuild
- Timestamp:
- Jun 11, 2007 11:22:43 AM (18 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC3.kmk
r1034 r1058 63 63 TOOL_GCC3_CFLAGS ?= 64 64 TOOL_GCC3_CFLAGS.debug ?= -g 65 TOOL_GCC3_CFLAGS.profile ?= - g -O2 #-pg65 TOOL_GCC3_CFLAGS.profile ?= -O2 #-g -pg 66 66 TOOL_GCC3_CFLAGS.release ?= -O2 67 67 TOOL_GCC3_CINCS ?= … … 72 72 TOOL_GCC3_CXXFLAGS ?= 73 73 TOOL_GCC3_CXXFLAGS.debug ?= -g 74 TOOL_GCC3_CXXFLAGS.profile ?= - g -O2 #-pg74 TOOL_GCC3_CXXFLAGS.profile ?= -O2 #-g -pg 75 75 TOOL_GCC3_CXXFLAGS.release ?= -O2 76 76 TOOL_GCC3_CXXINCS ?= … … 109 109 TOOL_GCC3_COMPILE_C_OUTPUT = $(outbase).i 110 110 define TOOL_GCC3_COMPILE_C_CMDS 111 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 111 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 112 --kObjCache-cpp $(outbase).i\ 112 113 $(TOOL_GCC3_CC) -E -o -\ 113 114 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 114 115 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 115 $(abspath $(source)) 116 --kObjCache-cc $(obj) 116 $(abspath $(source))\ 117 --kObjCache-cc $(obj)\ 117 118 $(TOOL_GCC3_CC) -c\ 118 $(flags) \119 -o $(obj)\ 120 $(outbase).i119 $(flags) -fpreprocessed -x c\ 120 -o $(obj)\ 121 - 121 122 endef 122 123 else # !USE_KOBJCACHE … … 150 151 TOOL_GCC3_COMPILE_CXX_OUTPUT = $(outbase).ii 151 152 define TOOL_GCC3_COMPILE_CXX_CMDS 152 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 153 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 154 --kObjCache-cpp $(outbase).ii\ 153 155 $(TOOL_GCC3_CXX) -E -o -\ 154 156 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 155 157 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 156 $(abspath $(source)) 157 --kObjCache-cc $(obj) 158 $(abspath $(source))\ 159 --kObjCache-cc $(obj)\ 158 160 $(TOOL_GCC3_CXX) -c\ 159 $(flags) \160 -o $(obj)\ 161 $(outbase).ii161 $(flags) -fpreprocessed -x c++\ 162 -o $(obj)\ 163 - 162 164 endef 163 165 else # !USE_KOBJCACHE -
trunk/kBuild/tools/GCC32.kmk
r1034 r1058 61 61 TOOL_GCC32_CFLAGS ?= 62 62 TOOL_GCC32_CFLAGS.debug ?= -g 63 TOOL_GCC32_CFLAGS.profile ?= - g -O2 #-pg63 TOOL_GCC32_CFLAGS.profile ?= -O2 #-g -pg 64 64 TOOL_GCC32_CFLAGS.release ?= -O2 65 65 TOOL_GCC32_CINCS ?= … … 70 70 TOOL_GCC32_CXXFLAGS ?= 71 71 TOOL_GCC32_CXXFLAGS.debug ?= -g 72 TOOL_GCC32_CXXFLAGS.profile ?= - g -O2 #-pg72 TOOL_GCC32_CXXFLAGS.profile ?= -O2 #-g -pg 73 73 TOOL_GCC32_CXXFLAGS.release ?= -O2 74 74 TOOL_GCC32_CXXINCS ?= … … 107 107 TOOL_GCC32_COMPILE_C_OUTPUT = $(outbase).i 108 108 define TOOL_GCC32_COMPILE_C_CMDS 109 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 109 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 110 --kObjCache-cpp $(outbase).i\ 110 111 $(TOOL_GCC32_CC) -E -o -\ 111 112 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 112 113 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 113 $(abspath $(source)) 114 --kObjCache-cc $(obj) 114 $(abspath $(source))\ 115 --kObjCache-cc $(obj)\ 115 116 $(TOOL_GCC32_CC) -c\ 116 $(flags) \117 -o $(obj)\ 118 $(outbase).i117 $(flags) -fpreprocessed -x c\ 118 -o $(obj)\ 119 - 119 120 endef 120 121 else # !USE_KOBJCACHE … … 148 149 TOOL_GCC32_COMPILE_CXX_OUTPUT = $(outbase).ii 149 150 define TOOL_GCC32_COMPILE_CXX_CMDS 150 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 151 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 152 --kObjCache-cpp $(outbase).ii\ 151 153 $(TOOL_GCC32_CXX) -E -o -\ 152 154 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 153 155 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 154 $(abspath $(source)) 155 --kObjCache-cc $(obj) 156 $(abspath $(source))\ 157 --kObjCache-cc $(obj)\ 156 158 $(TOOL_GCC32_CXX) -c\ 157 $(flags) \158 -o $(obj)\ 159 $(outbase).ii159 $(flags) -fpreprocessed -x c++\ 160 -o $(obj)\ 161 - 160 162 endef 161 163 else # !USE_KOBJCACHE -
trunk/kBuild/tools/GCC3OMF.kmk
r1015 r1058 53 53 TOOL_GCC3OMF_CFLAGS ?= -Zomf 54 54 TOOL_GCC3OMF_CFLAGS.debug ?= -g 55 TOOL_GCC3OMF_CFLAGS.profile ?= - g -O2 #-pg55 TOOL_GCC3OMF_CFLAGS.profile ?= -O2 #-g -pg 56 56 TOOL_GCC3OMF_CFLAGS.release ?= -O2 57 57 TOOL_GCC3OMF_CINCS ?= … … 62 62 TOOL_GCC3OMF_CXXFLAGS ?= -Zomf 63 63 TOOL_GCC3OMF_CXXFLAGS.debug ?= -g 64 TOOL_GCC3OMF_CXXFLAGS.profile ?= - g -O2 #-pg64 TOOL_GCC3OMF_CXXFLAGS.profile ?= -O2 #-g -pg 65 65 TOOL_GCC3OMF_CXXFLAGS.release ?= -O2 66 66 TOOL_GCC3OMF_CXXINCS ?= … … 99 99 TOOL_GCC3OMF_COMPILE_C_OUTPUT = $(outbase).i 100 100 define TOOL_GCC3OMF_COMPILE_C_CMDS 101 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 101 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 102 --kObjCache-cpp $(outbase).i\ 102 103 $(TOOL_GCC3OMF_CC) -E -o -\ 103 104 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 104 105 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 105 $(abspath $(source)) 106 --kObjCache-cc $(obj) 106 $(abspath $(source))\ 107 --kObjCache-cc $(obj)\ 107 108 $(TOOL_GCC3OMF_CC) -c\ 108 $(flags) \109 -o $(obj)\ 110 $(outbase).i109 $(flags) -fpreprocessed -x c\ 110 -o $(obj)\ 111 - 111 112 endef 112 113 else # !USE_KOBJCACHE … … 141 142 TOOL_GCC3OMF_COMPILE_CXX_OUTPUT = $(outbase).ii 142 143 define TOOL_GCC3OMF_COMPILE_CXX_CMDS 143 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 144 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 145 --kObjCache-cpp $(outbase).ii\ 144 146 $(TOOL_GCC3OMF_CXX) -E -o -\ 145 147 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 146 148 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 147 $(abspath $(source)) 148 --kObjCache-cc $(obj) 149 $(abspath $(source))\ 150 --kObjCache-cc $(obj)\ 149 151 $(TOOL_GCC3OMF_CXX) -c\ 150 $(flags) \151 -o $(obj)\ 152 $(outbase).ii152 $(flags) -fpreprocessed -x c++\ 153 -o $(obj)\ 154 - 153 155 endef 154 156 else # !USE_KOBJCACHE -
trunk/kBuild/tools/GCC3PLAIN.kmk
r1033 r1058 58 58 TOOL_GCC3PLAIN_CFLAGS ?= 59 59 TOOL_GCC3PLAIN_CFLAGS.debug ?= -g 60 TOOL_GCC3PLAIN_CFLAGS.profile ?= - g -O2 #-pg60 TOOL_GCC3PLAIN_CFLAGS.profile ?= -O2 #-g -pg 61 61 TOOL_GCC3PLAIN_CFLAGS.release ?= -O2 62 62 TOOL_GCC3PLAIN_CINCS ?= … … 67 67 TOOL_GCC3PLAIN_CXXFLAGS ?= 68 68 TOOL_GCC3PLAIN_CXXFLAGS.debug ?= -g 69 TOOL_GCC3PLAIN_CXXFLAGS.profile ?= - g -O2 #-pg69 TOOL_GCC3PLAIN_CXXFLAGS.profile ?= -O2 #-g -pg 70 70 TOOL_GCC3PLAIN_CXXFLAGS.release ?= -O2 71 71 TOOL_GCC3PLAIN_CXXINCS ?= … … 104 104 TOOL_GCC3PLAIN_COMPILE_C_OUTPUT = $(outbase).i 105 105 define TOOL_GCC3PLAIN_COMPILE_C_CMDS 106 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 106 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 107 --kObjCache-cpp $(outbase).i\ 107 108 $(TOOL_GCC3PLAIN_CC) -E -o -\ 108 109 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 109 110 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 110 $(abspath $(source)) 111 --kObjCache-cc $(obj) 111 $(abspath $(source))\ 112 --kObjCache-cc $(obj)\ 112 113 $(TOOL_GCC3PLAIN_CC) -c\ 113 $(flags) \114 -o $(obj)\ 115 $(outbase).i114 $(flags) -fpreprocessed -x c\ 115 -o $(obj)\ 116 - 116 117 endef 117 118 else # !USE_KOBJCACHE … … 145 146 TOOL_GCC3PLAIN_COMPILE_CXX_OUTPUT = $(outbase).ii 146 147 define TOOL_GCC3PLAIN_COMPILE_CXX_CMDS 147 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 148 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 149 --kObjCache-cpp $(outbase).ii\ 148 150 $(TOOL_GCC3PLAIN_CXX) -E -o -\ 149 151 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 150 152 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 151 $(abspath $(source)) 152 --kObjCache-cc $(obj) 153 $(abspath $(source))\ 154 --kObjCache-cc $(obj)\ 153 155 $(TOOL_GCC3PLAIN_CXX) -c\ 154 $(flags) \155 -o $(obj)\ 156 $(outbase).ii156 $(flags) -fpreprocessed -x c++\ 157 -o $(obj)\ 158 - 157 159 endef 158 160 else # !USE_KOBJCACHE -
trunk/kBuild/tools/GXX3.kmk
r1034 r1058 63 63 TOOL_GXX3_CFLAGS ?= 64 64 TOOL_GXX3_CFLAGS.debug ?= -g 65 TOOL_GXX3_CFLAGS.profile ?= - g -O2 #-pg65 TOOL_GXX3_CFLAGS.profile ?= -O2 #-g -pg 66 66 TOOL_GXX3_CFLAGS.release ?= -O2 67 67 TOOL_GXX3_CINCS ?= … … 72 72 TOOL_GXX3_CXXFLAGS ?= 73 73 TOOL_GXX3_CXXFLAGS.debug ?= -g 74 TOOL_GXX3_CXXFLAGS.profile ?= - g -O2 #-pg74 TOOL_GXX3_CXXFLAGS.profile ?= -O2 #-g -pg 75 75 TOOL_GXX3_CXXFLAGS.release ?= -O2 76 76 TOOL_GXX3_CXXINCS ?= … … 109 109 TOOL_GXX3_COMPILE_C_OUTPUT = $(outbase).i 110 110 define TOOL_GXX3_COMPILE_C_CMDS 111 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 111 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 112 --kObjCache-cpp $(outbase).i\ 112 113 $(TOOL_GXX3_CC) -E -o -\ 113 114 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 114 115 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 115 $(abspath $(source)) 116 --kObjCache-cc $(obj) 116 $(abspath $(source))\ 117 --kObjCache-cc $(obj)\ 117 118 $(TOOL_GXX3_CC) -c\ 118 $(flags) \119 -o $(obj)\ 120 $(outbase).i119 $(flags) -fpreprocessed -x c\ 120 -o $(obj)\ 121 - 121 122 endef 122 123 else # !USE_KOBJCACHE … … 150 151 TOOL_GXX3_COMPILE_CXX_OUTPUT = $(outbase).ii 151 152 define TOOL_GXX3_COMPILE_CXX_CMDS 152 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 153 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 154 --kObjCache-cpp $(outbase).ii\ 153 155 $(TOOL_GXX3_CXX) -E -o -\ 154 156 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 155 157 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 156 $(abspath $(source)) 157 --kObjCache-cc $(obj) 158 $(abspath $(source))\ 159 --kObjCache-cc $(obj)\ 158 160 $(TOOL_GXX3_CXX) -c\ 159 $(flags) \160 -o $(obj)\ 161 $(outbase).ii161 $(flags) -fpreprocessed -x c++\ 162 -o $(obj)\ 163 - 162 164 endef 163 165 else # !USE_KOBJCACHE -
trunk/kBuild/tools/GXX32.kmk
r1034 r1058 61 61 TOOL_GXX32_CFLAGS ?= 62 62 TOOL_GXX32_CFLAGS.debug ?= -g 63 TOOL_GXX32_CFLAGS.profile ?= - g -O2 #-pg63 TOOL_GXX32_CFLAGS.profile ?= -O2 #-g -pg 64 64 TOOL_GXX32_CFLAGS.release ?= -O2 65 65 TOOL_GXX32_CINCS ?= … … 70 70 TOOL_GXX32_CXXFLAGS ?= 71 71 TOOL_GXX32_CXXFLAGS.debug ?= -g 72 TOOL_GXX32_CXXFLAGS.profile ?= - g -O2 #-pg72 TOOL_GXX32_CXXFLAGS.profile ?= -O2 #-g -pg 73 73 TOOL_GXX32_CXXFLAGS.release ?= -O2 74 74 TOOL_GXX32_CXXINCS ?= … … 107 107 TOOL_GXX32_COMPILE_C_OUTPUT = $(outbase).i 108 108 define TOOL_GXX32_COMPILE_C_CMDS 109 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 109 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 110 --kObjCache-cpp $(outbase).i\ 110 111 $(TOOL_GXX32_CC) -E -o -\ 111 112 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 112 113 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 113 $(abspath $(source)) 114 --kObjCache-cc $(obj) 114 $(abspath $(source))\ 115 --kObjCache-cc $(obj)\ 115 116 $(TOOL_GXX32_CC) -c\ 116 $(flags) \117 -o $(obj)\ 118 $(outbase).i117 $(flags) -fpreprocessed -x c\ 118 -o $(obj)\ 119 - 119 120 endef 120 121 else # !USE_KOBJCACHE … … 148 149 TOOL_GXX32_COMPILE_CXX_OUTPUT = $(outbase).ii 149 150 define TOOL_GXX32_COMPILE_CXX_CMDS 150 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 151 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 152 --kObjCache-cpp $(outbase).ii\ 151 153 $(TOOL_GXX32_CXX) -E -o -\ 152 154 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 153 155 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 154 $(abspath $(source)) 155 --kObjCache-cc $(obj) 156 $(abspath $(source))\ 157 --kObjCache-cc $(obj)\ 156 158 $(TOOL_GXX32_CXX) -c\ 157 $(flags) \158 -o $(obj)\ 159 $(outbase).ii159 $(flags) -fpreprocessed -x c++\ 160 -o $(obj)\ 161 - 160 162 endef 161 163 else # !USE_KOBJCACHE -
trunk/kBuild/tools/GXX3OMF.kmk
r1015 r1058 53 53 TOOL_GXX3OMF_CFLAGS ?= -Zomf 54 54 TOOL_GXX3OMF_CFLAGS.debug ?= -g 55 TOOL_GXX3OMF_CFLAGS.profile ?= - g -O2 #-pg55 TOOL_GXX3OMF_CFLAGS.profile ?= -O2 #-g -pg 56 56 TOOL_GXX3OMF_CFLAGS.release ?= -O2 57 57 TOOL_GXX3OMF_CINCS ?= … … 62 62 TOOL_GXX3OMF_CXXFLAGS ?= -Zomf 63 63 TOOL_GXX3OMF_CXXFLAGS.debug ?= -g 64 TOOL_GXX3OMF_CXXFLAGS.profile ?= - g -O2 #-pg64 TOOL_GXX3OMF_CXXFLAGS.profile ?= -O2 #-g -pg 65 65 TOOL_GXX3OMF_CXXFLAGS.release ?= -O2 66 66 TOOL_GXX3OMF_CXXINCS ?= … … 99 99 TOOL_GXX3OMF_COMPILE_C_OUTPUT = $(outbase).i 100 100 define TOOL_GXX3OMF_COMPILE_C_CMDS 101 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 101 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 102 --kObjCache-cpp $(outbase).i\ 102 103 $(TOOL_GXX3OMF_CC) -E -o -\ 103 104 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 104 105 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 105 $(abspath $(source)) 106 --kObjCache-cc $(obj) 106 $(abspath $(source))\ 107 --kObjCache-cc $(obj)\ 107 108 $(TOOL_GXX3OMF_CC) -c\ 108 $(flags) \109 -o $(obj)\ 110 $(outbase).i109 $(flags) -fpreprocessed -x c\ 110 -o $(obj)\ 111 - 111 112 endef 112 113 else # !USE_KOBJCACHE … … 141 142 TOOL_GXX3OMF_COMPILE_CXX_OUTPUT = $(outbase).ii 142 143 define TOOL_GXX3OMF_COMPILE_CXX_CMDS 143 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 144 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 145 --kObjCache-cpp $(outbase).ii\ 144 146 $(TOOL_GXX3OMF_CXX) -E -o -\ 145 147 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 146 148 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 147 $(abspath $(source)) 148 --kObjCache-cc $(obj) 149 $(abspath $(source))\ 150 --kObjCache-cc $(obj)\ 149 151 $(TOOL_GXX3OMF_CXX) -c\ 150 $(flags) \151 -o $(obj)\ 152 $(outbase).ii152 $(flags) -fpreprocessed -x c++\ 153 -o $(obj)\ 154 - 153 155 endef 154 156 else # !USE_KOBJCACHE -
trunk/kBuild/tools/GXX3PLAIN.kmk
r1034 r1058 58 58 TOOL_GXX3PLAIN_CFLAGS ?= 59 59 TOOL_GXX3PLAIN_CFLAGS.debug ?= -g 60 TOOL_GXX3PLAIN_CFLAGS.profile ?= - g -O2 #-pg60 TOOL_GXX3PLAIN_CFLAGS.profile ?= -O2 #-g -pg 61 61 TOOL_GXX3PLAIN_CFLAGS.release ?= -O2 62 62 TOOL_GXX3PLAIN_CINCS ?= … … 67 67 TOOL_GXX3PLAIN_CXXFLAGS ?= 68 68 TOOL_GXX3PLAIN_CXXFLAGS.debug ?= -g 69 TOOL_GXX3PLAIN_CXXFLAGS.profile ?= - g -O2 #-pg69 TOOL_GXX3PLAIN_CXXFLAGS.profile ?= -O2 #-g -pg 70 70 TOOL_GXX3PLAIN_CXXFLAGS.release ?= -O2 71 71 TOOL_GXX3PLAIN_CXXINCS ?= … … 103 103 TOOL_GXX3PLAIN_COMPILE_C_OUTPUT = $(outbase).i 104 104 define TOOL_GXX3PLAIN_COMPILE_C_CMDS 105 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 105 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 106 --kObjCache-cpp $(outbase).i\ 106 107 $(TOOL_GXX3PLAIN_CC) -E -o -\ 107 108 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 108 109 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 109 $(abspath $(source)) 110 --kObjCache-cc $(obj) 110 $(abspath $(source))\ 111 --kObjCache-cc $(obj)\ 111 112 $(TOOL_GXX3PLAIN_CC) -c\ 112 $(flags) \113 -o $(obj)\ 114 $(outbase).i113 $(flags) -fpreprocessed -x c\ 114 -o $(obj)\ 115 - 115 116 endef 116 117 else # !USE_KOBJCACHE … … 145 146 TOOL_GXX3PLAIN_COMPILE_CXX_OUTPUT = $(outbase).ii 146 147 define TOOL_GXX3PLAIN_COMPILE_CXX_CMDS 147 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 148 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 149 --kObjCache-cpp $(outbase).ii\ 148 150 $(TOOL_GXX3PLAIN_CXX) -E -o -\ 149 151 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 150 152 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 151 $(abspath $(source)) 152 --kObjCache-cc $(obj) 153 $(abspath $(source))\ 154 --kObjCache-cc $(obj)\ 153 155 $(TOOL_GXX3PLAIN_CXX) -c\ 154 $(flags) \155 -o $(obj)\ 156 $(outbase).ii156 $(flags) -fpreprocessed -x c++\ 157 -o $(obj)\ 158 - 157 159 endef 158 160 else # !USE_KOBJCACHE
Note:
See TracChangeset
for help on using the changeset viewer.