fix-SUNWevolution-libs-remove-gcc-cflags.patch
author Guido Berhoerster <gber@openindiana.org>
Fri, 10 Jun 2011 11:43:49 +0200
branchoi_151
changeset 32 ff9e038c0359
parent 2 ca4e4a951c48
permissions -rw-r--r--
added dependency on SUNWdmz-cursor to SUNWnimbus

# 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} \