Code

Merge branch 'master' of git@apu.snow-crash.org:pkg-rrdtool
[pkg-rrdtool.git] / debian / rules
index af701133d18702d586f632c4e336d96e9cbb53b1..0e24d079305c57b51244a5e1cbd1dd1dc3e6162e 100755 (executable)
@@ -56,8 +56,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"