file://gcc34-configure.in.patch;patch=1 \
file://gcc34-thumb-support.patch;patch=1 \
file://gcc-cross-fixincl.patch;patch=1 \
- file://gcc-posix.patch;patch=1 \
+ file://gcc-posix-open-fix.patch;patch=1 \
"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
file://always-fixincperm.patch;patch=1 \
file://GCOV_PREFIX_STRIP-cross-profile_3.4.patch;patch=1 \
file://zecke-xgcc-cpp.patch;patch=1 \
- file://gcc-posix.patch;patch=1 \
+ file://gcc-posix-open-fix.patch;patch=1 \
file://gcc4-mtune-compat.patch;patch=1"
SRC_URI += "file://gcc34-configure.in.patch;patch=1"
+++ /dev/null
---- gcc-3.4.6/gcc/collect2.c 2008-10-04 18:17:17.796750393 +0400
-+++ gcc-3.4.6/gcc/collect2.new 2008-10-04 18:24:10.120748711 +0400
-@@ -1534,7 +1534,7 @@ collect_execute (const char *prog, char
- 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);
-
- /* Duplicate the stdout and stderr file handles
- so they can be restored later. */