diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 0db6501288..fd86d8a76d 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -4258,6 +4258,11 @@ else | |||
4258 | GCCOPTS="$GCCOPTS -Wno-shift-negative-value -Wno-unused-const-variable -Wno-nonnull-compare -Wno-tautological-compare" | 4258 | GCCOPTS="$GCCOPTS -Wno-shift-negative-value -Wno-unused-const-variable -Wno-nonnull-compare -Wno-tautological-compare" |
4259 | fi | 4259 | fi |
4260 | 4260 | ||
4261 | if test "$gccnum" -ge "700"; then | ||
4262 | # gcc 7 spews a bunch of warnings by default | ||
4263 | GCCOPTS="$GCCOPTS -Wno-expansion-to-defined -Wimplicit-fallthrough=0" | ||
4264 | fi | ||
4265 | |||
4261 | case $prefix in | 4266 | case $prefix in |
4262 | ""|"$CROSS_COMPILE") | 4267 | ""|"$CROSS_COMPILE") |
4263 | # simulator | 4268 | # simulator |