aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/mklibgcc.in4
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/Makefile.in4
-rw-r--r--libjava/classpath/ChangeLog4
-rwxr-xr-xlibjava/classpath/ltconfig2
-rwxr-xr-xltconfig2
8 files changed, 24 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 9464678..4fe2652 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-04 Peter O'Gorman <peter@pogma.com>
+
+ * ltconfig: chmod 644 before ranlib during install.
+
2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
PR bootstrap/18058
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f81893d..c36dcc1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-04 Peter O'Gorman <peter@pogma.com>
+
+ * mklibgcc.in: chmod 644 before ranlib during install.
+
2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in
index ab61ed0..b4a31a6 100644
--- a/gcc/mklibgcc.in
+++ b/gcc/mklibgcc.in
@@ -883,12 +883,15 @@ for ml in $MULTILIBS; do
ldir='$(DESTDIR)$(libsubdir)'
fi
echo ' $(INSTALL_DATA)' ${dir}/libgcc.a ${ldir}/
+ echo ' chmod 644' ${ldir}/libgcc.a
echo ' $(RANLIB_FOR_TARGET)' ${ldir}/libgcc.a
echo ' $(INSTALL_DATA)' ${dir}/libgcov.a ${ldir}/
+ echo ' chmod 644' ${ldir}/libgcov.a
echo ' $(RANLIB_FOR_TARGET)' ${ldir}/libgcov.a
if [ "$SHLIB_LINK" ]; then
echo ' $(INSTALL_DATA)' ${dir}/libgcc_eh.a ${ldir}/
+ echo ' chmod 644' ${ldir}/libgcc_eh.a
echo ' $(RANLIB_FOR_TARGET)' ${ldir}/libgcc_eh.a
shlib_slibdir_qual=
@@ -907,6 +910,7 @@ for ml in $MULTILIBS; do
-e "s%@shlib_slibdir_qual@%$shlib_slibdir_qual%g"
libunwinddir='$(DESTDIR)$(slibdir)$(shlib_slibdir_qual)/$(shlib_dir)'
echo ' $(INSTALL_DATA)' ${dir}/libunwind.a ${libunwinddir}/
+ echo ' chmod 644' ${dir}/libunwind.a
echo ' $(RANLIB_FOR_TARGET)' ${libunwinddir}/libunwind.a
fi
fi
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
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog
index e19fd8e..82e756b 100644
--- a/libjava/classpath/ChangeLog
+++ b/libjava/classpath/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-04 Peter O'Gorman <peter@pogma.com>
+
+ * ltconfig: chmod 644 before ranlib during install.
+
2006-05-15 Mark Wielaard <mark@klomp.org>
* configure.ac (VERSION): Set to 0.91.
diff --git a/libjava/classpath/ltconfig b/libjava/classpath/ltconfig
index b00e0ef..852476b 100755
--- a/libjava/classpath/ltconfig
+++ b/libjava/classpath/ltconfig
@@ -626,7 +626,7 @@ old_postuninstall_cmds=
if test -n "$RANLIB"; then
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ old_postinstall_cmds="\$old_postinstall_cmds~$RANLIB \$oldlib"
fi
# Source the script associated with the $tagname tag configuration.
diff --git a/ltconfig b/ltconfig
index b00e0ef..839b980 100755
--- a/ltconfig
+++ b/ltconfig
@@ -626,7 +626,7 @@ old_postuninstall_cmds=
if test -n "$RANLIB"; then
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ old_postinstall_cmds="~$old_postinstall_cmds~\$RANLIB \$oldlib"
fi
# Source the script associated with the $tagname tag configuration.