diff options
author | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-14 00:33:39 +0000 |
---|---|---|
committer | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-14 00:33:39 +0000 |
commit | 913f5042c6e1aa0f30756cd0dc3d6811de456853 (patch) | |
tree | 7736be130b456cf63d4aa05aad52a2415f7191dc | |
parent | 5728504c7f36da65ffcd9b5d65362a189d4e2a2c (diff) | |
download | mpv-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
-rwxr-xr-x | configure | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -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 # --- |