From ef775c79a4858d0e9b00cea193910bde319f580d Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 31 Oct 2013 19:22:23 -0600 Subject: [PATCH] Revert -march-native experiment that snuck into rev.13048 --- configure.ac | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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]) -- 2.47.2