summaryrefslogtreecommitdiffstats
path: root/package/qt5
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-07 10:18:40 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-10 22:42:52 +0100
commitc64cfee04325dbcc57028885cbaf278dddca451d (patch)
tree75c7135971d9ce201a5727eeacf7234c2ff3c23e /package/qt5
parentcc8c7277513d1d10c5b55948c7a97d1f54eaee82 (diff)
downloadbuildroot-novena-c64cfee04325dbcc57028885cbaf278dddca451d.tar.gz
buildroot-novena-c64cfee04325dbcc57028885cbaf278dddca451d.zip
qt5base: support debug or release modes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/qt5')
-rw-r--r--package/qt5/qt5base/qt5base.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index cad7b8dd6..33555aef3 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -41,6 +41,12 @@ QT5BASE_CONFIGURE_OPTS += \
-system-pcre \
-no-pch
+ifeq ($(BR2_ENABLE_DEBUG),y)
+QT5BASE_CONFIGURE_OPTS += -debug
+else
+QT5BASE_CONFIGURE_OPTS += -release
+endif
+
ifeq ($(BR2_LARGEFILE),y)
QT5BASE_CONFIGURE_OPTS += -largefile
else