summaryrefslogtreecommitdiffstats
path: root/toolchain-layer/recipes-devtools/gcc/files/gcc-posix-open-fix.patch
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 14:21:06 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 14:21:06 +0200
commit491e08d355107e0285d1345c5d1ed895cab524c4 (patch)
treef2b91c226c602582f6ed6a48199599a00e189631 /toolchain-layer/recipes-devtools/gcc/files/gcc-posix-open-fix.patch
downloadmeta-openembedded-491e08d355107e0285d1345c5d1ed895cab524c4.tar.gz
initial commit for Enea Linux 4.0
Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/files/gcc-posix-open-fix.patch')
-rw-r--r--toolchain-layer/recipes-devtools/gcc/files/gcc-posix-open-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/files/gcc-posix-open-fix.patch b/toolchain-layer/recipes-devtools/gcc/files/gcc-posix-open-fix.patch
new file mode 100644
index 0000000000..99f813e866
--- /dev/null
+++ b/toolchain-layer/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. */