From 6589cd12b34ded1991ae5d7cff6a3d5e67ef0979 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 24 Oct 2013 10:01:56 -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 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]) -- 2.47.3