From 493f6aefff4ff25c6e8a92313e5ebd61e953caa2 Mon Sep 17 00:00:00 2001 From: Jan Olbrechts Date: Fri, 7 Jan 2011 08:32:47 +0100 Subject: [PATCH] fixed compilation for newer gcc/libc --- toolchain/gcc/gcc/collect2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/gcc/gcc/collect2.c b/toolchain/gcc/gcc/collect2.c index 4fbe3a42..8bff7df2 100755 --- a/toolchain/gcc/gcc/collect2.c +++ b/toolchain/gcc/gcc/collect2.c @@ -1532,7 +1532,7 @@ collect_execute (const char *prog, char **argv, const char *redir) 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_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); /* Duplicate the stdout and stderr file handles so they can be restored later. */ -- 2.11.4.GIT