aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1997-09-03 22:53:56 +0000
committerJim Wilson <wilson@gcc.gnu.org>1997-09-03 15:53:56 -0700
commit9b2c548ca6d457c5e523ad894db44fb2f6d5a424 (patch)
treeeed9a857bcb076c5ffeb3b4455deb8353fa141ea /libiberty
parentc1bc6829b439dfd3590a54dd298b34a0b34ccf89 (diff)
downloadgcc-9b2c548ca6d457c5e523ad894db44fb2f6d5a424.zip
gcc-9b2c548ca6d457c5e523ad894db44fb2f6d5a424.tar.gz
gcc-9b2c548ca6d457c5e523ad894db44fb2f6d5a424.tar.bz2
Fix srcdir==objdir build failure with multilibbed libiberty.
* Makefile.in (stamp-needed, stamp-config): Add MULTISRCTOP to pathname for move-if-change. From-SVN: r15067
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 265acc4..3344c14 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 3 14:35:52 1997 Jim Wilson <wilson@cygnus.com>
+
+ * Makefile.in (stamp-needed, stamp-config): Add MULTISRCTOP to
+ pathname for move-if-change.
+
Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
* config/mh-cygwin32: also build random.o
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 46874e1..50be42c 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -190,7 +190,7 @@ install_to_tooldir: all
stamp-needed: stamp-picdir $(NEEDED_LIST)
cp $(NEEDED_LIST) needed-tmp
- $(SHELL) $(srcdir)/../move-if-change needed-tmp needed-list
+ $(SHELL) $(srcdir)/$(MULTISRCTOP)../move-if-change needed-tmp needed-list
touch stamp-needed
needed-list: stamp-needed ; @true
@@ -220,7 +220,7 @@ needed.awk: $(srcdir)/functions.def Makefile
stamp-config: $(CONFIG_H)
cp $(CONFIG_H) config.tmp
- $(SHELL) $(srcdir)/../move-if-change config.tmp config.h
+ $(SHELL) $(srcdir)/$(MULTISRCTOP)../move-if-change config.tmp config.h
touch stamp-config
config.h: stamp-config ; @true