Re: [PATCH] Simplify flag munging for rndjent.c

NIIBE Yutaka via Gcrypt-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <[email protected]>
Hello,

"Harmen Stoppels" <[email protected]> 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.
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.