summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 01ba8ad7d6..bfc453fed2 100755
--- a/configure
+++ b/configure
@@ -1367,6 +1367,10 @@ EOF
R5000) _march='-mips4' _mcpu='-mtune=r5000' ;;
R8000|R10000|R12000|R14000|R16000) _march='-mips4' _mcpu='-mtune=r8000' ;;
esac
+ # gcc < 3.x does not support -mtune.
+ if test "$cc_vendor" = "gnu" && test "$_cc_major" -lt 3 ; then
+ _mcpu=''
+ fi
echores "$proc"
fi