File java-1.6.0-openjdk-optflags.patch of Package java-1_6_0-openjdk.import5329

--- configure.ac	2011-03-02 19:34:58.692136324 +0100
+++ configure.ac	2011-03-25 14:56:40.798290097 +0100
@@ -18,6 +18,9 @@
 AC_PROG_CC
 AC_PROG_CXX
 
+ALT_OPT_CFLAGS="$(rpm --eval '%optflags' | sed -e 's/-mtune=generic//1')"
+AC_SUBST(ALT_OPT_CFLAGS)
+
 IT_FIND_TOOL([MAKE], [make])
 IT_FIND_TOOL([GZIP], [gzip])
 IT_FIND_TOOL([ANT], [ant])