From: Bernd Zeimetz Date: Sun, 24 Feb 2008 19:24:07 +0000 (+0100) Subject: - Builds with -O2 segfault on arm, so disable it on arm for now until the X-Git-Tag: debian/1.2.27-1~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=57f08e8afb5e0b6c7e8d9477e4afb90707a88e6a;p=pkg-rrdtool.git - 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). --- 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"