summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-14 00:33:39 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-14 00:33:39 +0000
commit913f5042c6e1aa0f30756cd0dc3d6811de456853 (patch)
tree7736be130b456cf63d4aa05aad52a2415f7191dc /configure
parent5728504c7f36da65ffcd9b5d65362a189d4e2a2c (diff)
downloadmpv-913f5042c6e1aa0f30756cd0dc3d6811de456853.tar.bz2
mpv-913f5042c6e1aa0f30756cd0dc3d6811de456853.tar.xz
hmm this is probably a better place for the check, as only the
Intel stuff has to be overwritten. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2891 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-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
# ---