This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libimager-perl.

commit 0d8d69fb6c8dcc6086121c0346b73456f9887e3f
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Dec 9 00:59:46 2016 +0100

    Build with -O0 on mips and mipsel.
    
    Closes: #847397
---
 debian/rules | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d5707d..21b4335 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,14 @@ ARCHLIB := $(shell perl -MConfig -e 'print 
$$Config{vendorarch}')
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
+# #847397
+DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
+NOOPT = mips mipsel
+ifneq (,$(filter $(DEB_HOST_ARCH), $(NOOPT)))
+export DEB_CFLAGS_MAINT_STRIP:=-O2
+export DEB_CFLAGS_MAINT_APPEND:=-O0
+endif
+
 # this number comes from IMAGER_API_VERSION in imexttypes.h
 # it is used for the Provides: perl-imagerapi-XX relationship
 # it needs to be updated manually because of the implications on the archive

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libimager-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to