From c64cfee04325dbcc57028885cbaf278dddca451d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 7 Mar 2013 10:18:40 +0000 Subject: [PATCH] qt5base: support debug or release modes Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/qt5/qt5base/qt5base.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index cad7b8dd69..33555aef32 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 -- 2.30.2