# HG changeset patch
# User Guido Berhoerster <[email protected]>
# Date 1285843819 -7200
# Branch gnome-2-30
# Node ID b0612ffac628fcc3a8f8a4a9737cc9111963c28a
# Parent ba369f7453dd694432dee1130e739cd32dee35a2
removes GCC-specific flags from CFLAGS
diff --git a/base-specs/gtkhtml.spec b/base-specs/gtkhtml.spec
--- a/base-specs/gtkhtml.spec
+++ b/base-specs/gtkhtml.spec
@@ -78,6 +78,13 @@
bash -x %SOURCE1 --enable-copyright
+# FIXME should rather autoreconf after resolving problems with libtool versions
+ed -- configure <<EOF
+,s/-fno-strict-aliasing//g
+w
+q
+EOF
+
CFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=%{_prefix} \