summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure22
1 files changed, 12 insertions, 10 deletions
diff --git a/configure b/configure
index de6381a685..5d87bf1423 100755
--- a/configure
+++ b/configure
@@ -821,6 +821,18 @@ i386|i486|i586|i686)
_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 @@ mips)
;;
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
# ---