]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Revert -march-native experiment that snuck into rev.13048
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Nov 2013 01:22:23 +0000 (19:22 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Nov 2013 01:22:23 +0000 (19:22 -0600)
configure.ac

index 8ac4aa7b2a801d3657c9d632debc7ddbd676d8b9..111cdc4bb763de75b5439bdd22e806d56f60fae2 100644 (file)
@@ -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])