diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-11-13 09:26:17 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-11-13 09:26:17 +0000 |
commit | fc98297639678ca564afded6aafa6e9abc69d543 (patch) | |
tree | 00a27f5dbcd6ec2bdf37535a05eb2ffad73a04cf /contrib | |
parent | More makeinfo hacks. (diff) | |
download | rtems-fc98297639678ca564afded6aafa6e9abc69d543.tar.bz2 |
New.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/patches/gcc-core-3.4.6-rtems4.8-20071111.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gcc-core-3.4.6-rtems4.8-20071111.diff b/contrib/crossrpms/patches/gcc-core-3.4.6-rtems4.8-20071111.diff new file mode 100644 index 0000000000..11a8403436 --- /dev/null +++ b/contrib/crossrpms/patches/gcc-core-3.4.6-rtems4.8-20071111.diff @@ -0,0 +1,27 @@ +diff -uNr gcc-3.4.6.orig/gcc/collect2.c gcc-3.4.6/gcc/collect2.c +--- gcc-3.4.6.orig/gcc/collect2.c 2005-01-10 16:25:23.000000000 +0100 ++++ gcc-3.4.6/gcc/collect2.c 2007-11-13 08:48:13.000000000 +0100 +@@ -1534,7 +1534,7 @@ + if (redir) + { + /* Open response file. */ +- redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT); ++ redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, S_IWUSR | S_IRUSR); + + /* Duplicate the stdout and stderr file handles + so they can be restored later. */ +diff -uNr gcc-3.4.6.orig/gcc/Makefile.in gcc-3.4.6/gcc/Makefile.in +--- gcc-3.4.6.orig/gcc/Makefile.in 2005-02-24 10:26:59.000000000 +0100 ++++ gcc-3.4.6/gcc/Makefile.in 2007-11-13 08:48:20.000000000 +0100 +@@ -2945,9 +2945,9 @@ + install-driver: installdirs xgcc$(exeext) + -rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) + -$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) +- -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version) ++ -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext) + -( cd $(DESTDIR)$(bindir) && \ +- $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version) ) ++ $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) ) + -if [ -f gcc-cross$(exeext) ] ; then \ + if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \ + rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \ |