Changeset 2749 for trunk/kBuild/tools/OPENWATCOM.kmk
- Timestamp:
- Jan 23, 2015, 2:01:02 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/OPENWATCOM.kmk
r2732 r2749 148 148 endif 149 149 150 if $(KBUILD_KMK_REVISION) >= 2747 151 TOOL_OPENWATCOM_ENV_SETUP_BD ?= $(call TOOL_OPENWATCOM_ENV_SETUP,$1,$2 --wcc-brain-damage) 152 else 153 TOOL_OPENWATCOM_ENV_SETUP_BD ?= $(call TOOL_OPENWATCOM_ENV_SETUP,$1,$2) 154 endif 155 156 150 157 # Functions for changing slashes (SQ = single quoted). 151 158 if1of ($(KBUILD_HOST), os2 win) … … 203 210 TOOL_OPENWATCOM_COMPILE_AS_OUTPUT = $(obj).err 204 211 define TOOL_OPENWATCOM_COMPILE_AS_CMDS 205 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP ) $(TOOL_OPENWATCOM_AS) \212 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_AS) \ 206 213 $(flags) \ 207 214 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ … … 219 226 TOOL_OPENWATCOM_COMPILE_C_OUTPUT = $(obj).err 220 227 define TOOL_OPENWATCOM_COMPILE_C_CMDS 221 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP ) $(TOOL_OPENWATCOM_CC) \228 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_CC) \ 222 229 $(flags) \ 223 230 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ … … 234 241 TOOL_OPENWATCOM_COMPILE_CXX_OUTPUT = $(obj).err 235 242 define TOOL_OPENWATCOM_COMPILE_CXX_CMDS 236 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP ) $(TOOL_OPENWATCOM_CXX) \243 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_CXX) \ 237 244 $(flags) \ 238 245 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ … … 273 280 --append $(outbase).rsp \ 274 281 ) 275 $(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP ) $(TOOL_OPENWATCOM_AR) $(flags) $(call TOOL_OPENWATCOM_FIX_SLASHES,$(out)) @$(outbase).rsp282 $(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_AR) $(flags) $(call TOOL_OPENWATCOM_FIX_SLASHES,$(out)) @$(outbase).rsp 276 283 endef 277 284 … … 280 287 TOOL_OPENWATCOM_LINK_PROGRAM_DEPORD = 281 288 define TOOL_OPENWATCOM_LINK_PROGRAM_CMDS 282 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP ,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \289 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP_BD,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \ 283 290 $(TOOL_OPENWATCOM_LD) \ 284 291 $(flags) \ … … 299 306 TOOL_OPENWATCOM_LINK_DLL_DEPORD = 300 307 define TOOL_OPENWATCOM_LINK_DLL_CMDS 301 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP ,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \308 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP_BD,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \ 302 309 $(TOOL_OPENWATCOM_LD) \ 303 310 $(flags) \ … … 318 325 TOOL_OPENWATCOM_LINK_SYSMOD_DEPORD = 319 326 define TOOL_OPENWATCOM_LINK_SYSMOD_CMDS 320 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP ,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \327 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP_BD,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \ 321 328 $(TOOL_OPENWATCOM_LD) \ 322 329 $(flags) \
Note:
See TracChangeset
for help on using the changeset viewer.