diff -Nru mrpt-1.0.2/debian/changelog mrpt-1.0.2/debian/changelog --- mrpt-1.0.2/debian/changelog 2014-02-28 16:43:34.000000000 +0000 +++ mrpt-1.0.2/debian/changelog 2014-03-01 01:09:06.000000000 +0000 @@ -1,3 +1,9 @@ +mrpt (1:1.0.2-1ubuntu1) trusty; urgency=medium + + * Build with -O1 optimisation level on armhf, powerpc, ppc64el (LP: #1286343) + + -- Dimitri John Ledkov Sat, 01 Mar 2014 01:09:06 +0000 + mrpt (1:1.0.2-1build1) trusty; urgency=medium * No change rebuild against libav9. diff -Nru mrpt-1.0.2/debian/control mrpt-1.0.2/debian/control --- mrpt-1.0.2/debian/control 2013-08-03 10:48:19.000000000 +0000 +++ mrpt-1.0.2/debian/control 2014-03-01 01:09:50.000000000 +0000 @@ -1,7 +1,8 @@ Source: mrpt Section: science Priority: optional -Maintainer: Jose Luis Blanco (University of Malaga) +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jose Luis Blanco (University of Malaga) Build-Depends: debhelper (>= 5), autotools-dev, cmake, diff -Nru mrpt-1.0.2/debian/rules mrpt-1.0.2/debian/rules --- mrpt-1.0.2/debian/rules 2013-08-03 10:48:19.000000000 +0000 +++ mrpt-1.0.2/debian/rules 2014-03-01 01:09:34.000000000 +0000 @@ -6,6 +6,18 @@ export DH_DEBUG=1 export DH_VERBOSE=1 +include /usr/share/dpkg/architecture.mk +ifneq (,$(filter armhf powerpc ppc64el,$(DEB_HOST_ARCH))) +DPKG_EXPORT_BUILDFLAGS = yes +DEB_CFLAGS_MAINT_APPEND = -O1 +DEB_CXXFLAGS_MAINT_APPEND = -O1 +DEB_CFLAGS_MAINT_STRIP = -O2 -O3 +DEB_CXXFLAGS_MAINT_STRIP = -O2 -O3 +CMAKE_BUILD_TYPE=None +else +CMAKE_BUILD_TYPE=Release +endif +include /usr/share/dpkg/default.mk # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) @@ -23,7 +35,7 @@ cmake . \ -DCMAKE_HOST=$(DEB_HOST_GNU_TYPE) \ -DCMAKE_BUILD=$(DEB_BUILD_GNU_TYPE) \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE) \ -DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/ \ -DCMAKE_CONFIGURE_LDFLAGS="$(LDFLAGS)" \ -DCMAKE_MRPT_USE_DEB_POSTFIXS="1" \