From: Amos Jeffries Date: Thu, 24 Oct 2013 16:01:56 +0000 (-0600) Subject: Revert -march-native experiment that snuck into rev.13048 X-Git-Tag: SQUID_3_5_0_1~588 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6589cd12b34ded1991ae5d7cff6a3d5e67ef0979;p=thirdparty%2Fsquid.git Revert -march-native experiment that snuck into rev.13048 --- diff --git a/configure.ac b/configure.ac index 978ec7366d..1f14f6c3a7 100644 --- a/configure.ac +++ b/configure.ac @@ -55,14 +55,14 @@ fi # might be cross-compiling. if test "x$HOSTCXX" = "x"; then HOSTCXX="$CXX" -# if test "x$squid_cv_check_marchnative" = "xyes"; then -# CXXFLAGS="$CXXFLAGS -march=native" -# fi -fi -#if test "x$squid_cv_check_marchnative" = "xyes"; then -# # always valid for the Host compiler. -# HOSTCXX="$HOSTCXX -march=native" -#fi + if test "x$squid_cv_check_marchnative" = "xyes"; then + CXXFLAGS="$CXXFLAGS -march=native" + fi +fi +if test "x$squid_cv_check_marchnative" = "xyes"; then + # always valid for the Host compiler. + HOSTCXX="$HOSTCXX -march=native" +fi AC_SUBST(HOSTCXX) AC_MSG_CHECKING([simplified host os])