changeset 30267:eab765ebb521

The undocumented x86-64 is a better fallback for core2 than nocona.
author zuxy
date Fri, 15 Jan 2010 09:33:38 +0000
parents fe8671946fae
children 94b48d340c6d
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Jan 15 09:31:15 2010 +0000
+++ b/configure	Fri Jan 15 09:33:38 2010 +0000
@@ -2064,6 +2064,9 @@
       fi
       # --- Intel processors ---
       if test "$proc" = "core2"; then
+        cc_check -march=$proc $cpuopt=$proc || proc=x86-64
+      fi
+      if test "$proc" = "x86-64"; then
         cc_check -march=$proc $cpuopt=$proc || proc=nocona
       fi
       if test "$proc" = "nocona"; then