From: Russ Allbery Date: Wed, 13 Jul 2011 05:06:08 +0000 (-0700) Subject: Disable optimization on armel to work around #630746 X-Git-Tag: debian/1.6.0.pre6-2~1 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9a8aead95ee02abaa7d9daca1f738d5e694ce05f;p=packages%2Fo%2Fopenafs.git Disable optimization on armel to work around #630746 --- diff --git a/debian/changelog b/debian/changelog index 96391e1a5..8e52de882 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ openafs (1.6.0~pre6-2) UNRELEASED; urgency=low * Revert the removal of Doxygen's jquery copy. This has now been fixed in the Doxygen package. + * Disable optimization on armel to work around #630746. -- Russ Allbery Tue, 28 Jun 2011 20:15:46 -0700 diff --git a/debian/rules b/debian/rules index 73f62006c..4beacc7c1 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,9 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) DEBIAN_OPT_FLAGS = --disable-optimize --disable-optimize-lwp DEBIAN_KERN_FLAGS = --disable-optimize-kernel +else ifeq (arm-linux-gnueabi,$(DEB_HOST_GNU_TYPE)) + DEBIAN_OPT_FLAGS = --disable-optimize --disable-optimize-lwp + DEBIAN_KERN_FLAGS = --disable-optimize-kernel else DEBIAN_OPT_FLAGS = DEBIAN_KERN_FLAGS =