Set r environment variable that CC_FOR_TARGET needs in CONFIGURE_TARGET_MODULES
authorMichael Meissner <gnu@the-meissners.org>
Fri, 12 Jul 1996 13:54:37 +0000 (13:54 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Fri, 12 Jul 1996 13:54:37 +0000 (13:54 +0000)
ChangeLog
Makefile.in

index 05c0a99efdefd216a557cb9121467f240abd225b..0fa081878bc36497be56a471bc5be51e81cba2c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 12 09:52:52 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (CONFIGURE_TARGET_MODULES): Set r environment
+       variable that CC_FOR_TARGET needs.
+
 Thu Jul 11 10:09:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * Makefile.in (CONFIGURE_TARGET_MODULES): Determine if the multlib
index 17a3df056b84ff2743086c64ee8552481e9418d6..ea8a31fc08f0011ba9a884279f362a0fab4dcc0d 100644 (file)
@@ -1014,6 +1014,7 @@ $(INSTALL_MODULES): install-dirs
 $(CONFIGURE_TARGET_MODULES):
        @dir=`echo $@ | sed -e 's/configure-target-//'`; \
        if [ -d $(TARGET_SUBDIR)/$${dir} ]; then \
+         r=`pwd`; export r; \
          $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
          if [ -f $(TARGET_SUBDIR)/$${dir}/multilib.out ]; then \
            if cmp $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out > /dev/null; then \