tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: All packages that use Meson are built with -O0



On Sun, Aug 11, 2024 at 06:40:35PM +0200, Jonathan Schleifer wrote:
> Am 11.08.24 um 16:32 schrieb Thomas Klausner:
> 
> > Well, the environments CFLAGS (or from /etc/mk.conf respectively)
> > should be honored, so the change doesn't improve that and I'm against
> > it.
> 
> It improves it in so far that at least it's not using -O0 anymore, but the
> standard -O2 most people use. That seems strictly better, even if it still
> does not parse CFLAGS and extract -O out of it.

I asked you to check your work/.work.log. Can you please do that?

Just because what the build system prints contains -O0 does not mean
that it is compiled with -O0 because the cwrappers change the actual
flags passed to the compiler.
 Thomas


Home | Main Index | Thread Index | Old Index