[SCM] x264/master: Disable debugging by default. Enable it via nostrip option of DEB_BUILD_OPTIONS.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Wed Oct 27 20:03:45 UTC 2010


The following commit has been merged in the master branch:
commit 7eeb69badc0bb23de96b87411dc1fda5908a361f
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Wed Oct 27 16:01:54 2010 -0400

    Disable debugging by default. Enable it via nostrip option of DEB_BUILD_OPTIONS.

diff --git a/debian/confflags b/debian/confflags
index 125f223..c30ec40 100644
--- a/debian/confflags
+++ b/debian/confflags
@@ -8,9 +8,12 @@ ifeq (,$(CFLAGS))
   CFLAGS = -Wall
 endif
 
-common_confflags += \
-	--prefix=/usr \
-	--enable-debug
+common_confflags += --prefix=/usr
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+  common_confflags += --disable-debug
+else
+  common_confflags += --enable-debug
+endif
 
 # XXX why isn't --enable-visualize used in the static build?
 # TODO --disable-asm when we build an opt flavor?

-- 
x264 packaging



More information about the pkg-multimedia-commits mailing list