------------------------------------------------------------ revno: 13018 revision-id: squid3@treenet.co.nz-20131101012223-v5ei9ocaj9cwtq6f parent: squid3@treenet.co.nz-20131024151149-s28sasdvebeuky3d committer: Amos Jeffries branch nick: 3.4 timestamp: Thu 2013-10-31 19:22:23 -0600 message: Revert -march-native experiment that snuck into rev.13048 ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20131101012223-v5ei9ocaj9cwtq6f # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.4 # testament_sha1: 26b1c5fd4ecd980b7f39b548ea3b3c04b0dc0697 # timestamp: 2013-11-01 01:27:24 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.4 # base_revision_id: squid3@treenet.co.nz-20131024151149-\ # s28sasdvebeuky3d # # Begin patch === modified file 'configure.ac' --- configure.ac 2013-10-24 15:09:12 +0000 +++ configure.ac 2013-11-01 01:22:23 +0000 @@ -55,14 +55,14 @@ # 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])