summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2006-07-04 20:31:03 +0000
committerAlexandre Oliva <aoliva@redhat.com>2006-07-04 20:31:03 +0000
commit4f9b9cda9bc43952f359e60760e2d443a84e68e0 (patch)
tree57ea37cb09ea7031d9ea1aaa7688a81aa5ff05da /libiberty
parent0c96767a76041aca272549f77e6f8eb55e34676b (diff)
downloadgdb-4f9b9cda9bc43952f359e60760e2d443a84e68e0.tar.gz
ChangeLog:
* ltconfig: chmod 644 before ranlib during install. libiberty/ChangeLog: * Makefile.in: chmod 644 before ranlib during install.
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/Makefile.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 93f8449f65b..00c3089f8c7 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-04 Peter O'Gorman <peter@pogma.com>
+
+ * Makefile.in: chmod 644 before ranlib during install.
+
2006-06-02 Mark Shinwell <shinwell@codesourcery.com>
* pex-unix.c (pex_unix_exec_child): Insert cast when assigning
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 95a82784b0b..a579d798fca 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -335,7 +335,7 @@ install: install_to_$(INSTALL_DEST) install-subdir
install_to_libdir: all
${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
- ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
+ ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
if test -n "${target_header_dir}"; then \
case "${target_header_dir}" in \
@@ -357,7 +357,7 @@ MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
install_to_tooldir: all
${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
- ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n )
+ ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install