Changeset 3331 for trunk/kBuild/tools
- Timestamp:
- Apr 20, 2020, 12:40:21 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC141AMD64.kmk
r3329 r3331 54 54 endif 55 55 PATH_TOOL_VCC141AMD64_BIN_QSH := $(requote sh,$(PATH_TOOL_VCC141AMD64_BIN)) 56 57 # A bunch of DLLs are only in the subdir matching the host one, so we need to add it to the PATH when cross compiling. 58 ifndef PATH_TOOL_VCC141AMD64_DLL_BIN 59 ifneq ($(PATH_TOOL_VCC141_HOST_DLL_BIN),$(PATH_TOOL_VCC141AMD64_BIN)) 60 PATH_TOOL_VCC141AMD64_DLL_BIN := $(PATH_TOOL_VCC141_HOST_DLL_BIN) 61 endif 62 endif 56 63 57 64 ifndef PATH_TOOL_VCC141AMD64_LIB … … 90 97 ifneq ($(substr $(qdir un,$(PATH_TOOL_VCC141AMD64_BIN)),-3),64/) 91 98 TOOL_VCC141AMD64_KSUBMIT ?= kmk_builtin_kSubmit --64-bit 92 TOOL_VCC141AMD64_KSUBMIT_DD = $(TOOL_VCC141AMD64_KSUBMIT) --93 99 else 94 100 TOOL_VCC141AMD64_KSUBMIT ?= kmk_builtin_kSubmit --32-bit 95 TOOL_VCC141AMD64_KSUBMIT_DD = $(TOOL_VCC141AMD64_KSUBMIT) --96 101 endif 102 ifdef PATH_TOOL_VCC141AMD64_DLL_BIN 103 TOOL_VCC141AMD64_KSUBMIT := $(TOOL_VCC141AMD64_KSUBMIT) --prepend "PATH=$(requote shell-in-dq,$(PATH_TOOL_VCC141AMD64_DLL_BIN));" 104 endif 105 TOOL_VCC141AMD64_KSUBMIT_DD := $(TOOL_VCC141AMD64_KSUBMIT) -- 106 endif 107 endif 108 ifdef PATH_TOOL_VCC141AMD64_DLL_BIN 109 TOOL_VCC141AMD64_SETUP_ENV := $(REDIRECT) --prepend "PATH=$(requote shell-in-dq,$(PATH_TOOL_VCC141AMD64_DLL_BIN));" --$(SP) 110 ifndef TOOL_VCC141AMD64_KSUBMIT_DD 111 TOOL_VCC141AMD64_KSUBMIT_DD := $(TOOL_VCC141AMD64_SETUP_ENV) 97 112 endif 98 113 endif … … 103 118 PATH_TOOL_VCC141AMD64_REDIST_DEBUG ?= $(PATH_TOOL_VCC141_REDIST_DEBUG)/x64 104 119 PATH_TOOL_VCC141AMD64_REDIST_DEBUG_CRT = $(PATH_TOOL_VCC141AMD64_REDIST_DEBUG)/$(TOOL_VCC141_REDIST_CRT_SUBDIR) 105 106 120 107 121 # … … 171 185 else 172 186 define TOOL_VCC141AMD64_COMPILE_C_CMDS 173 $(QUIET)$(TOOL_VCC141AMD64_ CC) -c\187 $(QUIET)$(TOOL_VCC141AMD64_SETUP_ENV)$(TOOL_VCC141AMD64_CC) -c\ 174 188 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 175 189 -Fd$(outbase)-obj.pdb \ … … 213 227 else 214 228 define TOOL_VCC141AMD64_COMPILE_CXX_CMDS 215 $(QUIET)$(TOOL_VCC141AMD64_ CXX) -c\229 $(QUIET)$(TOOL_VCC141AMD64_SETUP_ENV)$(TOOL_VCC141AMD64_CXX) -c\ 216 230 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 217 231 $(if-expr defined($(target)_PCH_HDR)\ … … 259 273 define TOOL_VCC141AMD64-PCH_COMPILE_CXX_CMDS 260 274 $(QUIET)$(RM) -f -- $($(target)_1_VCC_PCH_FILE) $($(target)_1_VCC_COMMON_OBJ_PDB) 261 $(QUIET)$(TOOL_VCC141AMD64_ CXX) -c -Yc\275 $(QUIET)$(TOOL_VCC141AMD64_SETUP_ENV)$(TOOL_VCC141AMD64_CXX) -c -Yc\ 262 276 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 263 277 -Fp$($(target)_1_VCC_PCH_FILE) \
Note:
See TracChangeset
for help on using the changeset viewer.