Changeset 3326 for trunk/kBuild/tools/VCC141X86.kmk
- Timestamp:
- Apr 17, 2020, 9:10:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC141X86.kmk
r3325 r3326 54 54 endif 55 55 PATH_TOOL_VCC141X86_BIN_QSH := $(requote sh,$(PATH_TOOL_VCC141X86_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_VCC141X86_DLL_BIN 59 ifneq ($(PATH_TOOL_VCC141_HOST_DLL_BIN),$(PATH_TOOL_VCC141X86_BIN)) 60 PATH_TOOL_VCC141X86_DLL_BIN := $(PATH_TOOL_VCC141_HOST_DLL_BIN) 61 endif 62 endif 56 63 57 64 ifndef PATH_TOOL_VCC141X86_LIB … … 90 97 ifneq ($(substr $(qdir un,$(PATH_TOOL_VCC141X86_BIN)),-3),64/) 91 98 TOOL_VCC141X86_KSUBMIT ?= kmk_builtin_kSubmit --64-bit 92 TOOL_VCC141X86_KSUBMIT_DD = $(TOOL_VCC141X86_KSUBMIT) --93 99 else 94 100 TOOL_VCC141X86_KSUBMIT ?= kmk_builtin_kSubmit --32-bit 95 TOOL_VCC141X86_KSUBMIT_DD = $(TOOL_VCC141X86_KSUBMIT) --96 101 endif 102 ifdef PATH_TOOL_VCC141X86_DLL_BIN 103 TOOL_VCC141X86_KSUBMIT := $(TOOL_VCC141X86_KSUBMIT) --prepend "PATH=$(requote shell-in-dq,$(PATH_TOOL_VCC141X86_DLL_BIN));" 104 endif 105 TOOL_VCC141X86_KSUBMIT_DD := $(TOOL_VCC141X86_KSUBMIT) -- 106 endif 107 endif 108 ifdef PATH_TOOL_VCC141X86_DLL_BIN 109 TOOL_VCC141X86_SETUP_ENV := $(REDIRECT) --prepend "PATH=$(requote shell-in-dq,$(PATH_TOOL_VCC141X86_DLL_BIN));" --$(SP) 110 ifndef TOOL_VCC141X86_KSUBMIT_DD 111 TOOL_VCC141X86_KSUBMIT_DD := $(TOOL_VCC141X86_SETUP_ENV) 97 112 endif 98 113 endif … … 165 180 else 166 181 define TOOL_VCC141X86_COMPILE_C_CMDS 167 $(QUIET)$(TOOL_VCC141X86_ CC) -c\182 $(QUIET)$(TOOL_VCC141X86_SETUP_ENV)$(TOOL_VCC141X86_CC) -c\ 168 183 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 169 184 -Fd$(outbase)-obj.pdb \ … … 207 222 else 208 223 define TOOL_VCC141X86_COMPILE_CXX_CMDS 209 $(QUIET)$(TOOL_VCC141X86_ CXX) -c\224 $(QUIET)$(TOOL_VCC141X86_SETUP_ENV)$(TOOL_VCC141X86_CXX) -c\ 210 225 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 211 226 $(if-expr defined($(target)_PCH_HDR)\ … … 253 268 define TOOL_VCC141X86-PCH_COMPILE_CXX_CMDS 254 269 $(QUIET)$(RM) -f -- $($(target)_1_VCC_PCH_FILE) $($(target)_1_VCC_COMMON_OBJ_PDB) 255 $(QUIET)$(TOOL_VCC141X86_ CXX) -c -Yc\270 $(QUIET)$(TOOL_VCC141X86_SETUP_ENV)$(TOOL_VCC141X86_CXX) -c -Yc\ 256 271 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 257 272 -Fp$($(target)_1_VCC_PCH_FILE) \
Note:
See TracChangeset
for help on using the changeset viewer.