[SCM] mp4v2/master: debian/rules: adding armhf-specific config params

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Tue Oct 25 13:18:20 UTC 2011


The following commit has been merged in the master branch:
commit 5c4473fb88876db592c021287389bb7049d7382b
Author: Matteo F. Vescovi <m.vescovi at revese.it>
Date:   Tue Oct 25 15:15:46 2011 +0200

    debian/rules: adding armhf-specific config params
    
    Git-Dch: Ignore

diff --git a/debian/rules b/debian/rules
index a04a403..3eab58f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,16 @@
 #!/usr/bin/make -f
 export DH_OPTIONS
 
+include debian/confflags
+
 CXXFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
 
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+
+ifeq ($(DEB_HOST_ARCH_CPU),armhf)
+	confflags += --disable-optimize
+endif
+
 %:
 	dh $@ --parallel --with autotools_dev
 

-- 
mp4v2 packaging



More information about the pkg-multimedia-commits mailing list