]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libf2c/Makefile.in
Makefile.in: Allow for PWDCMD to override hardcoded pwd.
[thirdparty/gcc.git] / libf2c / Makefile.in
index ef42e39d1a7f076fd3cdd8f16140e7957081c219..35f77d1eb784bd750bbeaa2b89f32671a49d455e 100644 (file)
@@ -20,6 +20,7 @@
 #02111-1307, USA.
 
 SHELL = /bin/sh
+PWD = $${PWDCMD-pwd}
 MAKEOVERRIDES=
 .NOEXPORTS:
 
@@ -255,8 +256,8 @@ rebuilt: configure
         installcheck installdirs all-unilib
 
 subdir_do:
-       @rootpre=`pwd`/; export rootpre; \
-       srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
+       @rootpre=`${PWD}`/; export rootpre; \
+       srcrootpre=`cd $(srcdir); ${PWD}`/; export srcrootpre; \
        for i in .. $(DODIRS); do \
          if [ x$$i != x.. ]; then \
            if [ -f ./$$i/Makefile ]; then \