Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > 5f6bf5abf462b297580a2f74929e8f26 > files > 12

java-1.6.0-openjdk-1.6.0.0-4.1.13.1.el5_10.src.rpm

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])