[PATCH] Simplify flag munging for rndjent.c

NIIBE Yutaka gniibe at fsij.org
Thu Feb 6 08:22:15 CET 2025


Hello,

"Harmen Stoppels" <harmen at stoppels.ch> wrote:
> * random/Makefile.am (o_flag_munging): append -O0
>
> Replace `echo ... | sed` idiom with simply appending -O0. This overrides
> previous optimization flags. Hopefully that ends the series of patches
> to these lines.

Yes, GCC and Clang have this behavior; In GCC manual, it says:

     If you use multiple '-O' options, with or without level numbers,
     the last such option is the one that is effective.

However, not all compilers have this behavior.  So, please don't change.

Well, I would understand your intention to prefer simpler things.  Thank
you for your attempt.
-- 



More information about the Gcrypt-devel mailing list