From: Thomas Petazzoni Date: Thu, 7 Mar 2013 10:18:40 +0000 (+0000) Subject: qt5base: support debug or release modes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c64cfee04325dbcc57028885cbaf278dddca451d;p=buildroot.git qt5base: support debug or release modes Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- 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