1
0
Fork 0
forked from len0rd/rockbox

Implement warning silencing in a cleaner way

Change-Id: Iae6356c7e9e04f4e975b1995f77a35f6252293a4
This commit is contained in:
Franklin Wei 2017-08-27 13:22:49 -04:00
parent 99e467e4ff
commit 27ca56d241

5
tools/configure vendored
View file

@ -4258,6 +4258,11 @@ else
GCCOPTS="$GCCOPTS -Wno-shift-negative-value -Wno-unused-const-variable -Wno-nonnull-compare -Wno-tautological-compare"
fi
if test "$gccnum" -ge "700"; then
# gcc 7 spews a bunch of warnings by default
GCCOPTS="$GCCOPTS -Wno-expansion-to-defined -Wimplicit-fallthrough=0"
fi
case $prefix in
""|"$CROSS_COMPILE")
# simulator