summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-10 00:54:48 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-10 00:54:48 +0000
commite9e2244616b856f6ee171af62488ae5882df5b4b (patch)
treefc2f76225aaa63e46bb479dbbfd5db12d6c69e2c
parentc52b30a43d5b8b9af44efd321a9e7e21bbf7bc4c (diff)
downloadmpv-e9e2244616b856f6ee171af62488ae5882df5b4b.tar.bz2
mpv-e9e2244616b856f6ee171af62488ae5882df5b4b.tar.xz
mcpu & mtune work on gcc4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15396 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0c23ccc56e..193b5ac7fd 100755
--- a/configure
+++ b/configure
@@ -1059,7 +1059,7 @@ EOF
*) ;;
esac
# gcc 3.1(.1) and up supports 7400 and 7450
- if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "1"; then
+ if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "1" || test "$_cc_major" -ge "4"; then
case "$proc" in
7400*|7410*) _march='-mcpu=7400' _mcpu='-mtune=7400' ;;
7450*|7455*) _march='-mcpu=7450' _mcpu='-mtune=7450' ;;
@@ -1067,7 +1067,7 @@ EOF
esac
fi
# gcc 3.2 and up supports 970
- if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3"; then
+ if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then
case "$proc" in
970*) _march='-mcpu=970' _mcpu='-mtune=970'
_def_dcbzl='#undef NO_DCBZL' ;;