summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 87c056af86..bdc1eb0dae 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1571,6 +1571,12 @@ else
1571 GCCOPTS="$GCCOPTS -fno-strict-aliasing" 1571 GCCOPTS="$GCCOPTS -fno-strict-aliasing"
1572 fi 1572 fi
1573 1573
1574 if test "$gccnum" -ge "402"; then
1575 # disable warning about "warning: initialized field overwritten" as gcc 4.2
1576 # and later would throw it for several valid cases
1577 GCCOPTS="$GCCOPTS -Wno-override-init"
1578 fi
1579
1574fi 1580fi
1575 1581
1576# check the compiler for SH platforms 1582# check the compiler for SH platforms