diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-07-06 21:38:00 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-07-06 21:38:00 +0000 |
commit | b40e3958d9ec5fdeab496d01b4d5662e5e99f086 (patch) | |
tree | 8d2fcb952a77da98224d9540ee915d4dec87d99d /config-ml.in | |
parent | 9f476a0143e7f3767db9af927983699beec49d3a (diff) | |
download | binutils-b40e3958d9ec5fdeab496d01b4d5662e5e99f086.zip binutils-b40e3958d9ec5fdeab496d01b4d5662e5e99f086.tar.gz binutils-b40e3958d9ec5fdeab496d01b4d5662e5e99f086.tar.bz2 |
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
* config-ml.in: Replace PWD with PWD_COMMAND.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerated.
Diffstat (limited to 'config-ml.in')
-rw-r--r-- | config-ml.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config-ml.in b/config-ml.in index e227500..0a2f103 100644 --- a/config-ml.in +++ b/config-ml.in @@ -500,7 +500,7 @@ multidirs=`echo "$multidirs" | sed -e 's/^[ ][ ]*//' -e 's/[ ][ ]*$//' -e 's/[ ] cat > Multi.tem <<\EOF -PWD=$${PWDCMD-pwd} +PWD_COMMAND=$${PWDCMD-pwd} # FIXME: There should be an @-sign in front of the `if'. # Leave out until this is tested a bit more. @@ -508,8 +508,8 @@ multi-do: if [ -z "$(MULTIDIRS)" ]; then \ true; \ else \ - rootpre=`${PWD}`/; export rootpre; \ - srcrootpre=`cd $(srcdir); ${PWD}`/; export srcrootpre; \ + rootpre=`${PWD_COMMAND}`/; export rootpre; \ + srcrootpre=`cd $(srcdir); ${PWD_COMMAND}`/; export srcrootpre; \ lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \ compiler="$(CC)"; \ for i in `$${compiler} --print-multi-lib 2>/dev/null`; do \ @@ -546,7 +546,7 @@ multi-clean: if [ -z "$(MULTIDIRS)" ]; then \ true; \ else \ - lib=`${PWD} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \ + lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \ for dir in Makefile $(MULTIDIRS); do \ if [ -f ../$${dir}/$${lib}/Makefile ]; then \ if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \ |