* Makefile.in (DO_X): Split rule to decrease command line length
authorIan Lance Taylor <ian@airs.com>
Fri, 3 Nov 1995 03:52:08 +0000 (03:52 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 3 Nov 1995 03:52:08 +0000 (03:52 +0000)
for systems with small ARG_MAX values.  From phdm@info.ucl.ac.be
(Philippe De Muyter).

ChangeLog
Makefile.in

index e859b2e..bc2d94d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Nov  2 13:24:56 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (DO_X): Split rule to decrease command line length
+       for systems with small ARG_MAX values.  From phdm@info.ucl.ac.be
+       (Philippe De Muyter).
+
 Wed Nov  1 15:18:35 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
 
        * Makefile.in (all-patch): depend on all-libiberty.
index 2489f1e..7f1676a 100644 (file)
@@ -659,7 +659,10 @@ $(DO_X):
                        $${target}); \
            then true; else exit 1; fi; \
          else true; fi; \
-       done;\
+       done
+       @target=`echo $@ | sed -e 's/^do-//'`; \
+       r=`pwd`; export r; \
+       srcroot=`cd $(srcdir); pwd`; export srcroot; \
        for i in $(TARGET_CONFIGDIRS) -dummy-; do \
          if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
            for flag in $(EXTRA_TARGET_FLAGS); do \