Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/qt5/qt5base: drop wrong optimization flag
@ 2019-06-26 14:04 Giulio Benetti
  2019-06-26 14:04 ` [Buildroot] [PATCH 2/2] package/qt5/qt5base: build with correct optimization Giulio Benetti
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Giulio Benetti @ 2019-06-26 14:04 UTC (permalink / raw)
  To: buildroot

In qmake.conf.in has been left 'QMAKE_CXXFLAGS_RELEASE += -O3' but this
leads to not use Buildroot CXXFLAGS when building in release
mode(without debugging symbols). So let's remove it to let Qt5 to follow
Buildroot optimization flags like other packages do.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
---
 package/qt5/qt5base/qmake.conf.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/qt5/qt5base/qmake.conf.in b/package/qt5/qt5base/qmake.conf.in
index f14527aa7f..26bee2cb39 100644
--- a/package/qt5/qt5base/qmake.conf.in
+++ b/package/qt5/qt5base/qmake.conf.in
@@ -15,7 +15,6 @@ QMAKE_CXX               = $${CROSS_COMPILE}g++
 # modifications to gcc-base.conf
 QMAKE_CFLAGS           += $${BR_COMPILER_CFLAGS}
 QMAKE_CXXFLAGS         += $${BR_COMPILER_CXXFLAGS}
-QMAKE_CXXFLAGS_RELEASE += -O3
 CONFIG                 += nostrip
 
 QMAKE_LIBS             += -lrt -lpthread -ldl
-- 
2.17.1

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

end of thread, other threads:[~2019-08-29 21:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-26 14:04 [Buildroot] [PATCH 1/2] package/qt5/qt5base: drop wrong optimization flag Giulio Benetti
2019-06-26 14:04 ` [Buildroot] [PATCH 2/2] package/qt5/qt5base: build with correct optimization Giulio Benetti
2019-08-03 10:21   ` Thomas Petazzoni
2019-08-03 17:08     ` Giulio Benetti
2019-08-03 10:20 ` [Buildroot] [PATCH 1/2] package/qt5/qt5base: drop wrong optimization flag Thomas Petazzoni
2019-08-29 21:42 ` Peter Korsgaard

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