summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-23 17:21:59 +0100
committerIan Lynagh <igloo@earth.li>2011-04-23 17:21:59 +0100
commit02c76a04093613960f8016fba07a8a6e59e7cd3b (patch)
tree80d69a4576a1da01d22422f3c81a27327c3e574d /rts
parentca07d92837fc1e3ae9be67bb7d9e7f1b8035b00f (diff)
downloadhaskell-02c76a04093613960f8016fba07a8a6e59e7cd3b.tar.gz
Make and use AR_STAGE[0123] makefile vars
Diffstat (limited to 'rts')
-rw-r--r--rts/ghc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 53bb72c0af..8925ff9179 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -194,7 +194,7 @@ endif
else
$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS)
"$$(RM)" $$(RM_OPTS) $$@
- echo $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) | "$$(XARGS)" $$(XARGS_OPTS) "$$(AR)" \
+ echo $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) | "$$(XARGS)" $$(XARGS_OPTS) "$$(AR_STAGE1)" \
$$(AR_OPTS) $$(EXTRA_AR_ARGS) $$@
endif
@@ -499,7 +499,7 @@ endif
ifneq "$(BINDIST)" "YES"
rts/dist/build/libHSrtsmain.a : rts/dist/build/Main.o
"$(RM)" $(RM_OPTS) $@
- "$(AR)" $(AR_OPTS) $(EXTRA_AR_ARGS) $@ $<
+ "$(AR_STAGE1)" $(AR_OPTS) $(EXTRA_AR_ARGS) $@ $<
endif
# -----------------------------------------------------------------------------