[Buildroot] [PATCH 1/1] package/qt5: remove optimize by default on debug builds made with qmake
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Aug 6 12:47:57 UTC 2021
Hello Mehmet,
On Fri, 6 Aug 2021 14:39:07 +0300
Mehmet Sami Tok <mehmetsamitok at gmail.com> wrote:
> Thanks for the response. This is an old patch and I don't know if the
> problem is still there. But the main point of this patch was not changing
> flags of Qt package build.
> When you want to use gcc toolchain and qmake generated by buildroot, It was
> affecting your application builds. These flags directly passed to qt
> toolchain and even if you want to build a debug build of any application,
> it is built with -o2. So the problem is not occuring when root file system
> is created, it appears when you want to build something else with toolchain
> generated by buildroot.
I see. Indeed in this case we might consider that we should obey to the
particular flags you specify rather than the ones from the Buildroot
configuration.
However, unless I misread your patch, it removed optimization flags
even for qmake packages built within Buildroot, which is not what we
want.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list