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 08:23:36PM +0200, Jonathan Schleifer wrote:
> Am 11.08.24 um 20:06 schrieb Thomas Klausner:
> 
> > I asked you to check your work/.work.log. Can you please do that?
> 
> The initial message already quoted the glibc warning, which should have been
> obvious enough in that it's definitely -O0, but here you go:

Thank you. I was asking because I don't see it when I build
devel/glib2, and I don't remember you mentioning which package you
were trying.

> glibc complaining that _FORTIFY_SOURCE cannot be used without -O should be a
> dead giveaway that -O0 is what's actually being used during compilation
> (this is how I even noticed).

Good point.

Reading https://mesonbuild.com/Builtin-options.html under 'Details for
buildtype' I'm not sure why we have 'plain' as default.

I agree that 'release' would be a better default.

I wonder, what is the default if we pass no buildtype?
 Thomas


Home | Main Index | Thread Index | Old Index