From 57f08e8afb5e0b6c7e8d9477e4afb90707a88e6a Mon Sep 17 00:00:00 2001 From: Bernd Zeimetz Date: Sun, 24 Feb 2008 20:24:07 +0100 Subject: [PATCH] - Builds with -O2 segfault on arm, so disable it on arm for now until the bug is properly debugged, which will take some time (Closes: #447041). --- debian/changelog | 4 +++- debian/rules | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6174cd3..0922548 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,8 +10,10 @@ rrdtool (1.2.27-1) unstable; urgency=low David Martínez Moreno. * debian/control: - Removing the ttf-dejavu dependency from librrd2. + - Builds with -O2 segfault on arm, so disable it on arm for now until the + bug is properly debugged, which will take some time (Closes: #447041). - -- Bernd Zeimetz Sun, 24 Feb 2008 16:25:05 +0100 + -- Bernd Zeimetz Sun, 24 Feb 2008 17:40:39 +0100 rrdtool (1.2.26-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 679934a..d3be3ee 100755 --- a/debian/rules +++ b/debian/rules @@ -59,8 +59,11 @@ CFLAGS += -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else +#don't optimize on arm for now - #447041 +ifneq ($(DEB_HOST_GNU_TYPE), arm) CFLAGS += -O2 endif +endif LDFLAGS="-Wl,-z,defs" -- 2.30.2