summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 6e9f17d98c..ebde6ef908 100755
--- a/configure
+++ b/configure
@@ -2064,6 +2064,9 @@ EOF
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