Le vendredi 1 décembre 2023 à 19:46, Stuart Henderson <s...@spacehopper.org> a 
écrit :


>
>
> Do you need -O0 or does -O1 also work?

Yes, I tried -01 first without success.

>
> The last opt level on the command line is used, or doesn't really matter if
> the existing one is present when you're overriding the default.
>
> --
> Sent from a phone, apologies for poor formatting.
>
> On 1 December 2023 14:26:01 Jonathan Armani jonat...@armani.tech wrote:
>
> > Hi,
> >
> > I hit an identical crash than QCAD in QT Script while playing with Mixxx.
> >
> > After trying some upstream fixes I found this solution in FreeBSD port.
> > Hope it will fix QCAD too, I'm not using it.
> >
> > I'm not sure this is the best way to overide with CXXFLAGS as both -O2 & -O0
> > are present in the generated build command.
> >
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/x11/qt5/qtscript/Makefile,v
> > retrieving revision 1.13
> > diff -u -p -r1.13 Makefile
> > --- Makefile 13 Jul 2022 15:48:58 -0000 1.13
> > +++ Makefile 30 Nov 2023 20:29:46 -0000
> > @@ -1,5 +1,9 @@
> > QT5NAME = QtScript
> > COMMENT-main = ECMAScript language for Qt5
> > +REVISION-main = 1
> > +
> > +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265989
> > +CXXFLAGS += -O0
> >
> > MULTI_PACKAGES = -main -examples
> > SHARED_LIBS += Qt5Script 3.0 # 5.9

Reply via email to