summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index a6992845d3..c6d0b4f755 100755
--- a/configure
+++ b/configure
@@ -902,6 +902,13 @@ EOF
*) ;;
esac
fi
+ # gcc 3.2 and up supports 970
+ if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3"; then
+ case "$proc" in
+ 970*) _march='-mcpu=970' _mcpu='-mtune=970' ;;
+ *) ;;
+ esac
+ fi
fi
if test -n "$_mcpu"; then