From 9a8aead95ee02abaa7d9daca1f738d5e694ce05f Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 12 Jul 2011 22:06:08 -0700 Subject: [PATCH] Disable optimization on armel to work around #630746 --- debian/changelog | 1 + debian/rules | 3 +++ 2 files changed, 4 insertions(+) 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 = -- 2.39.5