• trippels's avatar
    Fix bootstrap/PR63632 · 5ddb7ec6
    trippels authored
    r216566 (r216568 for 4.9 branch) added %{fno-lto} to LINK_COMMAND_SPEC.
    However the linker doesn't understand -fno-lto and errors out.
    This causes an LTO/PGO bootstrap failure, because -fno-lto is used
    during STAGEprofile.
    Fixed by filtering out -fno-lto in collect2.c.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@216614 138bc75d-0d04-0410-961f-82ee72b054a4
    5ddb7ec6
ChangeLog 149 KB