summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/files/gcc-posix-open-fix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:03:58 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:12:02 +0100
commitbe10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch)
tree9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/files/gcc-posix-open-fix.patch
parent93b28937ac67ba46d65f55637e42552e224aa7e2 (diff)
downloadmeta-openembedded-be10a6b1321f250b1034c7d9d0a8ef18b296eef1.tar.gz
angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones
This needs further investigation, but for now we can get the tested sources into the poky gcc harness Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes-devtools/gcc/files/gcc-posix-open-fix.patch')
-rw-r--r--recipes-devtools/gcc/files/gcc-posix-open-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/files/gcc-posix-open-fix.patch b/recipes-devtools/gcc/files/gcc-posix-open-fix.patch
new file mode 100644
index 0000000000..99f813e866
--- /dev/null
+++ b/recipes-devtools/gcc/files/gcc-posix-open-fix.patch
@@ -0,0 +1,11 @@
1--- gcc-3.4.6/gcc/collect2.c 2008-10-04 18:17:17.796750393 +0400
2+++ gcc-3.4.6/gcc/collect2.new 2008-10-04 18:24:10.120748711 +0400
3@@ -1534,7 +1534,7 @@ collect_execute (const char *prog, char
4 if (redir)
5 {
6 /* Open response file. */
7- redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);
8+ redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, S_IWUSR);
9
10 /* Duplicate the stdout and stderr file handles
11 so they can be restored later. */