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 04:26:30PM +0200, Jonathan Schleifer wrote:
> Am 11.08.24 um 08:28 schrieb Thomas Klausner:
> 
> > I just checked with zenity, but in work/.work.log I see -O2.
> > 
> > Perhaps the compiler wrappers do it behind meson's back?
> 
> Hm, maybe indeed, because when I got that warning, the package was using
> Clang.
> 
> In any case, that would only make the change less dangerous.
> 
> Are there any concerns with me applying http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/meson/build.mk.diff?r1=1.27&r2=1.28&only_with_tag=MAIN&f=h
> again?

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.
 Thomas


Home | Main Index | Thread Index | Old Index