From 7a6b4575709851a7d3e391497a53afd69fcd0e76 Mon Sep 17 00:00:00 2001 From: sof Date: Wed, 22 May 2002 18:36:19 +0000 Subject: [PATCH] [project @ 2002-05-22 18:36:19 by sof] HC_SPLIT_POST: reduce the risk of exceeding command line length limits. [As was, constructing the relocatable ".o"s from split object files failed with stuff inside of libraries/haskell-src/Language/Haskell/ under cygwin(&bash).] --- mk/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/target.mk b/mk/target.mk index ae851cd..a76b9f7 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -319,7 +319,7 @@ HC_SPLIT_PRE = \ $(RM) $@; if [ ! -d $(basename $@)_split ]; then mkdir $(basename $@)_split; else \ $(FIND) $(basename $@)_split -name '*.$(way_)o' | xargs $(RM) __rm_food; fi ifeq "$(GhcWithInterpreter)" "YES" -HC_SPLIT_POST = $(LD) -r $(LD_X) -o $@ $(basename $@)_split/*.$(way_)o +HC_SPLIT_POST = (cd $(dir $@) && $(LD) -r $(LD_X) -o $(notdir $@) $(basename $(notdir $@))_split/*.$(way_)o) else HC_SPLIT_POST = touch $@ endif # GhcWithInterpreter == YES -- 1.7.10.4