• Adding a workaround to gcc to enforce -O2

    From John Paul Adrian Glaubitz@21:1/5 to All on Sat Dec 15 16:20:01 2018
    Hello!

    We have a number of important packages failing to build from source on ia64 because they are using the -O3 optimization level which is currently broken
    for this target in gcc [1].

    Since I don't know when the upstream bug will be fixed, I would suggest patching
    gcc on ia64 such that -O3 is always mapped to -O2 and therefore the broken -O3 optimization level is never used.

    Any other opinions?

    Adrian

    [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85412

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - [email protected]
    `. `' Freie Universitaet Berlin - [email protected]
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)