Commit 51a3b74b authored by Michael Roth's avatar Michael Roth Committed by Peter Korsgaard
Browse files

qt: don't enable internal tslib-module debugging



In Qt there are virtually hundreds of internal debug flags like
TSLIBMOUSEHANDLER_DEBUG for every module or even C++ class. There
is no reason to enable a single such flag when Qt is build with
debugging symbols and others not.

Signed-off-by: default avatarMichael Roth <mroth@nessie.de>
Acked-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 7f541e30
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -153,8 +153,6 @@ endif
ifeq ($(BR2_PACKAGE_QT_MOUSE_TSLIB),y)
QT_CONFIGURE += -qt-mouse-tslib
QT_DEP_LIBS+=tslib
QT_TSLIB_DEB="-D TSLIBMOUSEHANDLER_DEBUG"
QT_TSLIB_DEB:=$(call qstrip,$(QT_TSLIB_DEB))
else
QT_CONFIGURE += -no-mouse-tslib
endif
@@ -165,7 +163,7 @@ QT_CONFIGURE += -no-mouse-qvfb
endif

ifeq ($(BR2_PACKAGE_QT_DEBUG),y)
QT_CONFIGURE+= "-debug $(QT_TSLIB_DEB)"
QT_CONFIGURE+= -debug
else
QT_CONFIGURE+= -release
endif