qt5base: support debug or release modes
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 7 Mar 2013 10:18:40 +0000 (10:18 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 10 Mar 2013 21:42:52 +0000 (22:42 +0100)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt5/qt5base/qt5base.mk

index cad7b8dd6919a72fc18dac5325f56c96905b3289..33555aef32760d1f00bd7d286eca9afdcac06957 100644 (file)
@@ -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