please do not hardcode optimization flags by default. configure.ac currently
does:
CXXFLAGS="$CXXFLAGS -O3 -funroll-all-loops -funroll-loops ..."
could that at least be put behind a configure flag ? like
--disable-default-optimizations ?
AC_ARG_ENABLE([default-optimizations],
AS_HELP_STRING([--disable-default-optimizations], [Disable default optimization flag overrides])])
AS_IF([test x"$enable_default_optimizations" != xno], [
CXXFLAGS="$CXXFLAGS -O3 -funroll-all-loops -funroll-loops"
])
Original issue reported on code.google.com by vapier@gmail.com on 27 Nov 2012 at 7:02
Original issue reported on code.google.com by
vapier@gmail.com
on 27 Nov 2012 at 7:02