Changeset 3255 in kBuild
- Timestamp:
- Jan 2, 2019 7:14:57 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GXX3.kmk
r3254 r3255 164 164 # @param $(source) Source filename (relative). 165 165 # @param $(obj) Object file name. This shall be (re)created by the compilation. 166 # @param $(dep) 166 # @param $(dep) Dependcy file. This shall be (re)created by the compilation. 167 167 # @param $(flags) Flags. 168 168 # @param $(defs) Definitions. No -D or something. 169 169 # @param $(incs) Includes. No -I or something. 170 170 # @param $(dirdep) Directory creation dependency. 171 # @param $(deps) 171 # @param $(deps) Other dependencies. 172 172 # @param $(outbase) Output basename (full). Use this for list files and such. 173 173 # @param $(objsuff) Object suffix. 174 TOOL_GXX3_COMPILE_CXX_DEPEND = $($(target)_1_GCC_PCH_FILE) 174 175 TOOL_GXX3_COMPILE_CXX_DEPORD = 175 176 ifdef KBUILD_USE_KOBJCACHE 176 177 TOOL_GXX3_COMPILE_CXX_USES_KOBJCACHE = 1 177 TOOL_GXX3_COMPILE_CXX_DEPEND =178 178 TOOL_GXX3_COMPILE_CXX_OUTPUT = $(outbase).ii 179 179 define TOOL_GXX3_COMPILE_CXX_CMDS 180 180 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 181 181 --kObjCache-cpp $(outbase).ii\ 182 $(TOOL_GXX3_CXX) -E -o -\ 182 $(TOOL_GXX3_CXX) -E -o - $(if-expr defined($(target)_PCH_HDR)\ 183 ,-fpch-preprocess -Winvalid-pch -I$($(target)_1_GCC_PCH_DIR) -include $(basename $($(target)_1_GCC_PCH_FILE)),)\ 183 184 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 184 185 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ … … 186 187 --kObjCache-cc $(obj)\ 187 188 $(TOOL_GXX3_CXX) -c\ 188 $(flags) -fpreprocessed -x c++\189 $(flags) -fpreprocessed $(if-expr defined($(target)_PCH_HDR),-fpch-preprocess,) -x c++\ 189 190 -o $(obj)\ 190 191 - … … 192 193 endef 193 194 else # !KBUILD_USE_KOBJCACHE 194 TOOL_GXX3_COMPILE_CXX_DEPEND = $($(target)_1_GCC_PCH_FILE)195 195 TOOL_GXX3_COMPILE_CXX_OUTPUT = 196 196 define TOOL_GXX3_COMPILE_CXX_CMDS
Note:
See TracChangeset
for help on using the changeset viewer.