Permalink
Browse files

Add -fno-tree-sra on armel. Workaround that Closes: #634260

  • Loading branch information...
1 parent 91d608d commit 45eb7be3c8585dd8a0eeafe13e2d72083d112ef2 @lnussbaum lnussbaum committed Jul 24, 2011
Showing with 10 additions and 0 deletions.
  1. +6 −0 debian/changelog
  2. +4 −0 debian/rules
View
@@ -1,3 +1,9 @@
+ruby1.8 (1.8.7.352-2) unstable; urgency=low
+
+ * Add -fno-tree-sra on armel. Workaround that Closes: #634260
+
+ -- Lucas Nussbaum <lucas@debian.org> Sun, 24 Jul 2011 12:30:48 +0200
+
ruby1.8 (1.8.7.352-1) unstable; urgency=low
* New upstream release.
View
@@ -25,6 +25,10 @@ ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g -O0
else
CFLAGS += -g -O2
+# Workaround for #634260. Can be removed when #635126 is fixed.
+ifeq ($(DEB_BUILD_ARCH),armel)
+ CFLAGS += -fno-tree-sra
+endif
endif
ifneq (,$(filter $(DEB_BUILD_GNU_CPU),i386 i486 i586 i686))

0 comments on commit 45eb7be

Please sign in to comment.