From: Amos Jeffries Date: Fri, 1 Nov 2013 01:22:23 +0000 (-0600) Subject: Revert -march-native experiment that snuck into rev.13048 X-Git-Tag: SQUID_3_4_0_3~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef775c79a4858d0e9b00cea193910bde319f580d;p=thirdparty%2Fsquid.git Revert -march-native experiment that snuck into rev.13048 --- diff --git a/configure.ac b/configure.ac index 8ac4aa7b2a..111cdc4bb7 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])