Changeset 241 for trunk/kBuild


Ignore:
Timestamp:
Feb 20, 2005, 4:58:11 AM (20 years ago)
Author:
bird
Message:

Remove link targets before linking (hopefully this will fix some .so trouble).

File:
1 edited

Legend:

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

    r235 r241  
    197197        $(eval $(custom_pre))
    198198endif
     199        $(RM) -f $$@
    199200        $(TOOL_GCC3_LD) $(flags) -o $$@ $(objs) \
    200201                $(foreach p,$(libpath), -L$(p)) \
     
    230231        $(eval $(custom_pre))
    231232endif
     233        $(RM) -f $$@
    232234        $(TOOL_GCC3_LD) $(TOOL_GCC3_LDFLAGS.dll) $(flags) -o $$@ \
    233235                $(if $(filter linux, $(BUILD_TARGET)),$(call TOOL_GCC3_LD_SONAME,$(target),$(dll))) \
     
    264266        $(eval $(custom_pre))
    265267endif
     268        $(RM) -f $$@
    266269        $(TOOL_GCC3_LD_SYSMOD) $(TOOL_GCC3_LDFLAGS.sysmod) $(flags) -o $$@ $(objs) \
    267270                $(foreach p,$(libpath), -L$(p)) \
Note: See TracChangeset for help on using the changeset viewer.