changeset 15751:97402fff252e

100l, -march=k8 was used with cpu detection even when compiler did not support it.
author reimar
date Sat, 18 Jun 2005 21:49:02 +0000
parents f0aa0931feb3
children abe14ad09ad3
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Jun 18 20:27:50 2005 +0000
+++ b/configure	Sat Jun 18 21:49:02 2005 +0000
@@ -989,6 +989,8 @@
       if test "$proc" = "athlon-xp" || test "$proc" = "athlon-4" ; then
         cc_check -march=$proc $cpuopt=$proc || proc=error
       fi
+      _march="-march=$proc"
+      _mcpu="$cpuopt=$proc"
       if test "$proc" = "error" ; then
         echores "Your $_cc does not even support \"athlon-xp\" for '-march' and '$cpuopt'."
         _mcpu=""
@@ -999,8 +1001,6 @@
       _mcpu=""
     fi
     
-    _march="-march=$proc"
-    _mcpu="$cpuopt=$proc"
     _optimizing=""
 
     echores "$proc"