Advertisement
Guest User

sources/mbwe-bluering/gcc_collect2.patch

a guest
Mar 2nd, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. --- gcc/collect2.c.orig 2011-02-20 15:27:29.284152082 +0200
  2. +++ gcc/collect2.c 2011-02-20 15:28:25.304152234 +0200
  3. @@ -1532,7 +1532,11 @@
  4. if (redir)
  5. {
  6. /* Open response file. */
  7. +#if defined(__GNUC__) && (__GNUC__ >= 4)
  8. + redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0777);
  9. +#else
  10. redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);
  11. +#endif
  12.  
  13. /* Duplicate the stdout and stderr file handles
  14. so they can be restored later. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement