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 05c0a99..0fa0818 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 17a3df0..ea8a31f 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 \