diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-11-03 03:52:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-11-03 03:52:08 +0000 |
commit | ec7a8792d92ebfa360e6ce4d1edf1065634e4fc5 (patch) | |
tree | 591ebd646512db1282f3116ca4a665f46175ec17 /Makefile.in | |
parent | e61900e6a259570926e289fa8fd22dd3c124d87a (diff) | |
download | gdb-ec7a8792d92ebfa360e6ce4d1edf1065634e4fc5.zip gdb-ec7a8792d92ebfa360e6ce4d1edf1065634e4fc5.tar.gz gdb-ec7a8792d92ebfa360e6ce4d1edf1065634e4fc5.tar.bz2 |
* 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).
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 2489f1e..7f1676a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 \ |