File project.diff of Package webkitgtk3

--- webkitgtk3.spec.orig
+++ webkitgtk3.spec
@@ -352,6 +352,11 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS/-g / }"
 %ifarch %arm ppc ppc64 ppc64le s390 s390x
 RPM_OPT_FLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads "
 %endif
+# needed in order to compile the JavaScriptCore successfully
+RPM_OPT_FLAGS+=" -fpermissive"
+
+# who wonders, that this pile isn't lto ready?
+%define _lto_cflags %{nil}
 
 #Needed for patch2
 #autoreconf --verbose --install -I Source/autotools
openSUSE Build Service is sponsored by