[libetonyek] 02/03: use O0 ("noopt") on arm* and *i386 to work around test failures (closes: #837909)

Rene Engelhard rene at moszumanska.debian.org
Tue Oct 4 21:07:23 UTC 2016


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

rene pushed a commit to branch master
in repository libetonyek.

commit ada2ab5fdabbedc366a9d272bc0cdcbcf4096305
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Tue Oct 4 23:04:25 2016 +0200

    use O0 ("noopt") on arm* and *i386 to work around test failures (closes: #837909)
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6e47ba2..851434a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,16 @@ CONFIGURE_FLAGS:= --disable-werror --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTI
 MDDS_VER:=$(shell pkg-config --exists mdds-1.2 && echo 1.2 || echo 0.x)
 CONFIGURE_FLAGS += --with-mdds=$(MDDS_VER)
 
+ifneq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ ifneq (,$(findstring arm,$(DEB_HOST_ARCH)))
+	DEB_BUILD_OPTIONS += noopt
+ endif
+ ifneq (,$(findstring i386,$(DEB_HOST_ARCH)))
+	DEB_BUILD_OPTIONS += noopt
+ endif
+endif
+export DEB_BUILD_OPTIONS
+
 %:
 	dh $@ --with=autoreconf
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libetonyek.git



More information about the Pkg-openoffice-commits mailing list