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 8f1e02becd..fdd819753d 100755
--- a/configure
+++ b/configure
@@ -1010,6 +1010,9 @@ EOF
fi
fi
fi
+ if test "$proc" = "nocona" || test "$proc" = "prescott" ; then
+ cc_check -march=$proc $cpuopt=$proc || proc=pentium4
+ fi
if test "$proc" = "pentium4" || test "$proc" = "pentium-m" || test "$proc" = "pentium3" || test "$proc" = "pentium2" || test "$proc" = "athlon" || test "$proc" = "c3-2"; then
cc_check -march=$proc $cpuopt=$proc || proc=i686
fi