summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-07 10:18:40 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-03-10 21:42:52 (GMT)
commitc64cfee04325dbcc57028885cbaf278dddca451d (patch)
tree75c7135971d9ce201a5727eeacf7234c2ff3c23e
parentcc8c7277513d1d10c5b55948c7a97d1f54eaee82 (diff)
downloadbuildroot-c64cfee04325dbcc57028885cbaf278dddca451d.tar.gz
buildroot-c64cfee04325dbcc57028885cbaf278dddca451d.tar.bz2
qt5base: support debug or release modes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 cad7b8d..33555ae 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