Blob Blame History Raw
diff -up ./configure.ac.sav ./configure.ac
--- ./configure.ac.sav	2011-07-22 10:28:06.000000000 -0400
+++ ./configure.ac	2011-07-22 10:28:20.000000000 -0400
@@ -24,6 +24,9 @@
 if test "x$CXX" = x; then
    AC_MSG_ERROR([No C++ compiler found.])
 fi
+
+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])