Ticket #33107: lto-plugin-osx.diff

File lto-plugin-osx.diff, 362 bytes (added by titus@…, 13 years ago)

patch file necessary for gcc-4.6.2's LTO plugin on OSX

  • lto-plugin/lto-plugin.c

     
    6868# define O_BINARY 0
    6969#endif
    7070
     71#ifdef  __APPLE__
     72char * environ[] = {NULL};
     73#endif
     74
    7175/* Segment name for LTO sections.  This is only used for Mach-O.
    7276   FIXME: This needs to be kept in sync with darwin.c.  */
    7377