[webkitgtk3/f15] compile -O1 on arm arches

Dennis Gilmore ausil at fedoraproject.org
Tue Jan 10 21:32:21 UTC 2012


commit f8a4d98eed3188c579c2d73a5b3a3568d26ad05c
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Tue Jan 10 15:32:17 2012 -0600

    compile -O1 on arm arches

 webkitgtk3.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/webkitgtk3.spec b/webkitgtk3.spec
index 06be7ab..9f382b2 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -7,7 +7,7 @@
 
 Name:           webkitgtk3
 Version:        1.4.0
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 Summary:        GTK+ Web content engine library
 
 Group:          Development/Libraries
@@ -74,6 +74,10 @@ files for developing applications that use %{name}.
 # drop -g flag to prevent memory exhaustion by linker
 %global optflags %(echo %{optflags} | sed 's/-g//')
 %endif
+%ifarch %{arm}
+#compile -O1 to avoid gcc ICE
+%global optflags %(echo %{optflags} | sed 's/-O2/-O1/')
+%endif
 
 CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY" %configure                                                   \
                         --with-gtk=3.0                          \
@@ -144,6 +148,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 
 
 %changelog
+* Tue Jan 10 2012 Dennis Gilmore <dennis at ausil.us> 1.4.0-1.1
+- compile -O1 on arm arches
+
 * Tue Apr 26 2011 Matthias Clasen <mclasen at redhat.com> 1.4.0-1
 - Update to 1.4.0
 


More information about the scm-commits mailing list