From: simonmar Date: Mon, 16 Feb 2004 10:46:07 +0000 (+0000) Subject: [project @ 2004-02-16 10:46:07 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~82 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=73b9cebbd800a19c55798037c0a3658006c382cb [project @ 2004-02-16 10:46:07 by simonmar] Fiddle with HC_SPLIT_POST to reduce the size of the ld command line and hence avoid bumping into command-line length limits for a while longer. From: Jeremy Shaw --- diff --git a/mk/target.mk b/mk/target.mk index 2c297b0..109dbfc 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -324,7 +324,7 @@ HC_SPLIT_PRE = \ $(RM) $@; if [ ! -d $(basename $@)_split ]; then mkdir $(basename $@)_split; else \ $(FIND) $(basename $@)_split -name '*.$(way_)o' -print | xargs $(RM) __rm_food; fi ifeq "$(GhcWithInterpreter)" "YES" -HC_SPLIT_POST = (cd $(dir $@) && $(LD) -r $(LD_X) -o $(notdir $@) $(basename $(notdir $@))_split/*.$(way_)o) +HC_SPLIT_POST = (cd $(basename $@)_split && $(LD) -r $(LD_X) -o ../$(notdir $@) *.$(way_)o) else HC_SPLIT_POST = touch $@ endif # GhcWithInterpreter == YES