Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/1] remove optimize by default while using qmake
@ 2020-01-07 12:32 Mehmet Sami Tok
  2020-01-07 12:32 ` [Buildroot] [PATCH 1/1] package/qt5: remove optimize by default on debug builds made with qmake Mehmet Sami Tok
  0 siblings, 1 reply; 5+ messages in thread
From: Mehmet Sami Tok @ 2020-01-07 12:32 UTC (permalink / raw)
  To: buildroot

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@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-06 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-07 12:32 [Buildroot] [PATCH 0/1] remove optimize by default while using qmake Mehmet Sami Tok
2020-01-07 12:32 ` [Buildroot] [PATCH 1/1] package/qt5: remove optimize by default on debug builds made with qmake Mehmet Sami Tok
2021-08-05 20:03   ` Thomas Petazzoni
2021-08-06 11:39     ` Mehmet Sami Tok
2021-08-06 12:47       ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox