r977 - in /unstable/mpeg2dec/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Sun Dec 16 15:11:22 UTC 2007


Author: lool
Date: Sun Dec 16 15:11:22 2007
New Revision: 977

URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=977
Log:
* Unset DEB_OPT_FLAGS to leave it to upstream configure to select the opt
  level when noopt isn't in DEB_BUILD_OPTS; this allows -O3 to be selected
  instead of the cdbs default of -O2.

Modified:
    unstable/mpeg2dec/debian/changelog
    unstable/mpeg2dec/debian/rules

Modified: unstable/mpeg2dec/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/mpeg2dec/debian/changelog?rev=977&op=diff
==============================================================================
--- unstable/mpeg2dec/debian/changelog (original)
+++ unstable/mpeg2dec/debian/changelog Sun Dec 16 15:11:22 2007
@@ -1,4 +1,4 @@
-mpeg2dec (0.4.1-2) UNRELEASED; urgency=low
+mpeg2dec (0.4.1-2) unstable; urgency=low
 
   * Bump up Standards-Version to 3.7.3.
     - This new version allows PIC shared libraries on some arches;
@@ -26,6 +26,9 @@
   * Update patches 64_non-pic-on-i386-only and 68_honor-cflags to not patch
     configure and add a new patch, 70_autoconf, to update configure by running
     autoconf.
+  * Unset DEB_OPT_FLAGS to leave it to upstream configure to select the opt
+    level when noopt isn't in DEB_BUILD_OPTS; this allows -O3 to be selected
+    instead of the cdbs default of -O2.
 
  -- Loic Minier <lool at dooz.org>  Sun, 16 Dec 2007 14:48:42 +0100
 

Modified: unstable/mpeg2dec/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/mpeg2dec/debian/rules?rev=977&op=diff
==============================================================================
--- unstable/mpeg2dec/debian/rules (original)
+++ unstable/mpeg2dec/debian/rules Sun Dec 16 15:11:22 2007
@@ -5,6 +5,11 @@
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk
+
+# leave it to the upstream configure to select the opt flag, presumably -O3
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+    DEB_OPT_FLAG :=
+endif
 
 # retrieve the shared library package name (with SONAME) from control
 libmpeg2N := $(shell sed -rn 's/Package:[[:space:]]*(libmpeg2-[0-9]+)[[:space:]]*$$/\1/p' debian/control)




More information about the pkg-multimedia-commits mailing list