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

Mehmet Sami Tok mehmetsamitok at gmail.com
Tue Jan 7 12:32:08 UTC 2020


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

Signed-off-by: Mehmet Sami TOK <mehmetsamitok at gmail.com>

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(-)

-- 
2.17.1



More information about the buildroot mailing list