Ignore:
Timestamp:
Jun 28, 2014, 4:58:12 PM (11 years ago)
Author:
bird
Message:

wcl and wcl386 doodoos in the current directory which causes trouble for parallel execution of them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/OPENWATCOM.kmk

    r2726 r2731  
    6767        -E 'LIB=$1' \
    6868        -E 'INCLUDE=' \
    69         --
     69        $2 --
    7070 else ifeq ($(KBUILD_HOST),freebsd)
    7171  PATH_TOOL_OPENWATCOM_BIN   = $(PATH_TOOL_OPENWATCOM)/binfbsd
     
    7676        -E 'LIB=$1' \
    7777        -E 'INCLUDE=' \
    78         --
     78        $2 --
    7979 else ifeq ($(KBUILD_HOST),linux)
    8080  PATH_TOOL_OPENWATCOM_BIN   = $(PATH_TOOL_OPENWATCOM)/binl
     
    8585        -E 'LIB=$1' \
    8686        -E 'INCLUDE=' \
    87         --
     87        $2 --
    8888 else ifeq ($(KBUILD_HOST),os2)
    8989  PATH_TOOL_OPENWATCOM_BIN   = $(PATH_TOOL_OPENWATCOM)/binp
     
    9696        -E 'LIB=$1' \
    9797        -E 'INCLUDE=' \
    98         --
     98        $2 --
    9999 else ifeq ($(KBUILD_HOST),solaris)
    100100  PATH_TOOL_OPENWATCOM_BIN   = $(PATH_TOOL_OPENWATCOM)/binsol
     
    105105        -E 'LIB=$1' \
    106106        -E 'INCLUDE=' \
    107         --
     107        $2 --
    108108 else
    109109  PATH_TOOL_OPENWATCOM_BIN   = $(PATH_TOOL_OPENWATCOM)/binnt
     
    114114        -E 'LIB=$1' \
    115115        -E 'INCLUDE=' \
    116         --
     116        $2 --
    117117 endif
    118118
     
    134134        -E 'LIB=$1' \
    135135        -E 'INCLUDE=' \
    136         --
     136        $2 --
    137137 TOOL_OPENWATCOM_CC    ?= wcc386$(HOSTSUFF_EXE)
    138138 TOOL_OPENWATCOM_CC16  ?= wcc$(HOSTSUFF_EXE)
     
    270270TOOL_OPENWATCOM_LINK_PROGRAM_DEPORD =
    271271define TOOL_OPENWATCOM_LINK_PROGRAM_CMDS
    272         $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP,$(subst $(SP),,$(addsuffix ;,$(libpath)))) \
     272        $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \
    273273                $(TOOL_OPENWATCOM_LD) \
    274274                $(flags) \
     
    289289TOOL_OPENWATCOM_LINK_DLL_DEPORD =
    290290define TOOL_OPENWATCOM_LINK_DLL_CMDS
    291         $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP,$(subst $(SP),,$(addsuffix ;,$(libpath)))) \
     291        $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \
    292292                $(TOOL_OPENWATCOM_LD) \
    293293                $(flags) \
     
    308308TOOL_OPENWATCOM_LINK_SYSMOD_DEPORD =
    309309define TOOL_OPENWATCOM_LINK_SYSMOD_CMDS
    310         $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP,$(subst $(SP),,$(addsuffix ;,$(libpath)))) \
     310        $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP,$(subst $(SP),,$(addsuffix ;,$(libpath))),-C $(dir $(out))) \
    311311                $(TOOL_OPENWATCOM_LD) \
    312312                $(flags) \
Note: See TracChangeset for help on using the changeset viewer.