https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117893

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #5 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to GCC Commits from comment #3)
> commit r15-5921-g1783b2030905567d1b89ccc5e674699619f159e5
> Author: Andreas Schwab <sch...@suse.de>
> Date:   Wed Dec 4 10:59:38 2024 +0100
> 
>     gcc/configure: Properly remove -O flags from C[XX]FLAGS
>     
>             PR bootstrap/117893
>             * configure.ac: Use shell loop to remove -O flags.
>             * configure: Regenerate.

So what is the correct way to do a gcc trunk non-bootstrap build with
-O1 or -O3 ? I thought use of CFLAGS and CXXFLAGS was the recommended solution.

I could probably bodge something in with sed on the Makefiles,
but there has to be a better way.

Reply via email to