[SCM] xbmc/master: Always pass --enable-debug to configure to generate debug symbols

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Wed Oct 1 16:12:50 UTC 2014


The following commit has been merged in the master branch:
commit d1db20ab294941406741a34b8111571da0c14fae
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Wed Oct 1 17:31:50 2014 +0200

    Always pass --enable-debug to configure to generate debug symbols

diff --git a/debian/rules b/debian/rules
index 0ade8fe..0baef53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,22 +6,6 @@ DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
-# Set this variable to yes for release builds to disable debugging and enable
-# optimizations.
-# NOTE: DEB_BUILD_OPTIONS must have 'nostrip' otherwise debugging symbols will
-# be stripped from binaries.
-XBMC_RELEASE ?= yes
-ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-XBMC_RELEASE ?= no
-endif
-
-# Whether we're building for release or not
-ifeq (yes,$(XBMC_RELEASE))
-  DEBUG_OPTIONS = --disable-debug --enable-optimizations
-else
-  DEBUG_OPTIONS = --enable-debug --disable-optimizations
-endif
-
 ifeq (,$(filter i386 amd64,$(DEB_HOST_ARCH)))
   ARCH_SPECIFIC_OPTIONS = --disable-crystalhd
 else
@@ -59,7 +43,7 @@ endif
 XBMC_CONFIG_OPTIONS ?= --host=$(DEB_HOST_GNU_TYPE) \
   --build=$(DEB_BUILD_GNU_TYPE) \
   --prefix=/usr --docdir=/usr/share/doc/xbmc \
-  $(DEBUG_OPTIONS) \
+  --enable-debug \
   $(GL_CONFIG_OPTIONS) \
   --disable-vdadecoder \
   --disable-vtbdecoder \

-- 
xbmc packaging



More information about the pkg-multimedia-commits mailing list