[vlc-commits] contrib: qt: don't build release build in debug mode
Steve Lhomme
git at videolan.org
Wed Nov 16 14:43:10 CET 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Oct 26 17:41:20 2016 +0200| [ed83de24abc9de89d9b34a83cd3278e79a2e3994] | committer: Jean-Baptiste Kempf
contrib: qt: don't build release build in debug mode
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ed83de24abc9de89d9b34a83cd3278e79a2e3994
---
contrib/src/qt/rules.mak | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/contrib/src/qt/rules.mak b/contrib/src/qt/rules.mak
index 3bfde9f..a31bd9c 100644
--- a/contrib/src/qt/rules.mak
+++ b/contrib/src/qt/rules.mak
@@ -32,11 +32,17 @@ QT_SPEC := win32-g++
QT_PLATFORM := -xplatform win32-g++ -device-option CROSS_COMPILE=$(HOST)-
endif
-QT_CONFIG := -static -release -opensource -confirm-license -no-pkg-config \
+QT_CONFIG := -static -opensource -confirm-license -no-pkg-config \
-no-sql-sqlite -no-gif -qt-libjpeg -no-openssl -no-opengl -no-dbus \
-no-qml-debug -no-audio-backend -no-sql-odbc -no-pch \
-no-compile-examples -nomake examples
+ifndef WITH_OPTIMIZATION
+QT_CONFIG += -debug
+else
+QT_CONFIG += -release
+endif
+
.qt: qt
cd $< && ./configure $(QT_PLATFORM) $(QT_CONFIG) -prefix $(PREFIX)
# Make && Install libraries
More information about the vlc-commits
mailing list