Skip to content

remove optimize by default while using qmake

Mehmet Sami Tok buildroot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1package/qt5: remove optimize by default on debug builds made with qmakepackage/qt5/qt5base/qt5base.mk+6 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/1] remove optimize by default while using qmake

When building qt projects with debug configuration on a host computer, applications build with optimization even if not configured to.

Optimization flags in TARGET_CFLAGS are passed as default build arguments of qt build commands. If they are not overriden or removed manually from build arguments, any project build with optimization level of root file system by default.

So I filtered optimization flags which are passed to "config.opt" first, then made into "mkspecs/qdevice.pri".

Mehmet Sami Tok (1):
package/qt5: remove optimize by default on debug builds made with
qmake

 package/qt5/qt5base/qt5base.mk | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1