aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure b/configure
index 4403e478b3..33ad2d3500 100755
--- a/configure
+++ b/configure
@@ -1153,9 +1153,12 @@ EOF
_mcpu=""
_march=""
fi
- else
- _march=""
- _mcpu=""
+ else # if test "$_runtime_cpudetection" = no
+ # x86-64 is an undocumented option, an intersection of k8 and nocona.
+ _march="-march=x86-64"
+ _mcpu="$cpuopt=x86-64"
+ cc_check $_mcpu || _mcpu=""
+ cc_check $_march $_mcpu || _march=""
fi
_optimizing=""