diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-07 00:42:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-07 00:42:46 +0000 |
commit | 20ff4c56d20fe8c22d6ac44c02efd1252b32ade6 (patch) | |
tree | 28d4728e399766430449fb2a7b365465d74897c7 /misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch | |
parent | 8285ffad2245a53de14c65913b00dab5568f0afc (diff) | |
download | nuttx-20ff4c56d20fe8c22d6ac44c02efd1252b32ade6.tar.gz nuttx-20ff4c56d20fe8c22d6ac44c02efd1252b32ade6.tar.bz2 nuttx-20ff4c56d20fe8c22d6ac44c02efd1252b32ade6.zip |
m9s12x toolchain Ubuntu 9.10 build fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3476 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch')
-rw-r--r-- | misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch b/misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch new file mode 100644 index 000000000..20a9e8378 --- /dev/null +++ b/misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch @@ -0,0 +1,11 @@ +--- gcc-3.3.6/gcc/collect2.c 2011-04-06 18:36:17.269806677 -0600 ++++ gcc-3.3.6/gcc/collect2.c 2011-04-06 18:36:34.385799826 -0600 +@@ -1580,7 +1580,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, 0666); + + /* Duplicate the stdout and stderr file handles + so they can be restored later. */ |