changeset 2890:1db780ee8117

hmm this is probably a better place for the check, as only the Intel stuff has to be overwritten.
author gabucino
date Wed, 14 Nov 2001 00:33:39 +0000
parents 0d8553a47d1a
children b7ba83b45fae
files configure
diffstat 1 files changed, 12 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Nov 14 00:26:28 2001 +0000
+++ b/configure	Wed Nov 14 00:33:39 2001 +0000
@@ -821,6 +821,18 @@
 
     _march="-march=$proc"
     _mcpu="-mcpu=$proc"
+
+    ##
+    ## Gabucino : --target takes effect here (hopefully...) by overwriting
+    ##            autodetected mcpu/march parameters
+    ##
+
+    if test "$_target" ; then
+      _march="-march=$host_arch"
+      _mcpu="-mcpu=$host_arch"
+      proc="$_target"		# a little cosmetic
+    fi
+
     #echo "DONE (${proc})."
     ;;
 
@@ -885,16 +897,6 @@
     ;;
 esac
 
-##
-## Gabucino : --target takes effect here (hopefully...) by overwriting
-##            autodetected mcpu/march parameters
-##
-
-if test "$_target" ; then
-  _march="-march=$host_arch"
-  _mcpu="-mcpu=$host_arch"
-  proc="$_target"		# a little cosmetic
-fi
 
 # ---