From: simonmar Date: Thu, 20 Mar 2003 15:56:31 +0000 (+0000) Subject: [project @ 2003-03-20 15:56:31 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1055 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=aae3d82720495459b2a3db87f941680521b56f13 [project @ 2003-03-20 15:56:31 by simonmar] replace one instance of ar with $(AR). --- diff --git a/mk/target.mk b/mk/target.mk index 0dc9587..2cb9d0f 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -304,7 +304,7 @@ SRC_HC_OPTS += -split-objs ifeq "$(ArSupportsInput)" "" define BUILD_LIB $(RM) $@ $@.tmp -(echo $(STUBOBJS) $(C_OBJS); $(FIND) $(patsubst %.$(way_)o,%_split,$(HS_OBJS)) -name '*.$(way_)o') | xargs ar q $@ +(echo $(STUBOBJS) $(C_OBJS); $(FIND) $(patsubst %.$(way_)o,%_split,$(HS_OBJS)) -name '*.$(way_)o') | xargs $(AR) $@ $(RANLIB) $@ endef else @@ -1119,7 +1119,7 @@ endif # the --no-print-directory flag which is passed to recursive # invocations of make. # -ifeq "$(way)" "" +#ifeq "$(way)" "" ifneq "$(SUBDIRS)" "" # we override the 'boot', 'all' and 'install' targets in the top @@ -1166,7 +1166,7 @@ $(ALL_TARGET) docs runtests $(BOOT_TARGET) TAGS clean distclean mostlyclean main @echo "------------------------------------------------------------------------" endif -endif +#endif # # Selectively building subdirectories.