summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index d804ee22e4..fefe23c89a 100755
--- a/configure
+++ b/configure
@@ -1937,6 +1937,14 @@ EOF
*) ;;
esac
fi
+ # gcc 3.4 and up supports 440*
+ if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "4" || test "$_cc_major" -ge "4"; then
+ case "$proc" in
+ 440EP*) _march='-mcpu=440fp' _mcpu='-mtune=440fp' ;;
+ 440G* ) _march='-mcpu=440' _mcpu='-mtune=440' ;;
+ *) ;;
+ esac
+ fi
# gcc 4.0 and up supports POWER5
if test "$_cc_major" -ge "4"; then
case "$proc" in