[SCM] kodi/master: Disable debugging by default

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Sat Dec 26 22:14:26 UTC 2015


The following commit has been merged in the master branch:
commit fe87a47be53c6bd9cf55b26ff4c2d073156faa6a
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Sat Dec 26 11:57:42 2015 +0100

    Disable debugging by default
    
    Closes: #777041

diff --git a/debian/rules b/debian/rules
index ffdb55d..6efa96b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,13 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 GL_CONFIG_OPTIONS = --enable-gl --disable-gles --enable-vdpau
 ARCH_SPECIFIC_LIB_RECOMMENDS_ADD = -lvdpau
 
+# Disable debugging by default
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+DEBUG_CONFIG_OPTIONS += --enable-debug
+else
+DEBUG_CONFIG_OPTIONS += --disable-debug
+endif
+
 # Enable gles for armel, armhf
 # Also disable VDPAU and VAAPI there since they break the build with gles
 ifneq (,$(filter armel armhf,$(DEB_HOST_ARCH)))
@@ -39,6 +46,7 @@ KODI_CONFIG_OPTIONS ?= --host=$(DEB_HOST_GNU_TYPE) \
   --disable-vtbdecoder \
   --disable-openmax \
   --disable-tegra \
+  $(DEBUG_CONFIG_OPTIONS) \
   --disable-profiling \
   --enable-joystick \
   --enable-pulse \

-- 
kodi packaging



More information about the pkg-multimedia-commits mailing list