aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorPeter O'Gorman <peter@pogma.com>2006-07-04 20:20:01 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2006-07-04 20:20:01 +0000
commit706601d965756f53d473d8b173c788cefc9b2917 (patch)
tree4d0dd4f07bf428b656a90ed18811c98f5f3d7ae1 /libiberty
parent1855915abe6888b17861d36e8174bf954eb8ed86 (diff)
downloadgcc-706601d965756f53d473d8b173c788cefc9b2917.zip
gcc-706601d965756f53d473d8b173c788cefc9b2917.tar.gz
gcc-706601d965756f53d473d8b173c788cefc9b2917.tar.bz2
ltconfig: chmod 644 before ranlib during install.
ChangeLog: * ltconfig: chmod 644 before ranlib during install. libiberty/ChangeLog: * Makefile.in: chmod 644 before ranlib during install. gcc/ChangeLog: * mklibgcc.in: chmod 644 before ranlib during install. libjava/classpath/ChangeLog: * ltconfig: chmod 644 before ranlib during install. From-SVN: r115183
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 93f8449..00c3089 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 95a8278..a579d79 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