1
0
Fork 0
forked from len0rd/rockbox

Revert "Silence GCC 7.x warnings when building simulator"

This reverts commit b13f6e5b67.
This commit is contained in:
Franklin Wei 2017-08-27 13:13:49 -04:00
parent c7f897faa4
commit 99e467e4ff

5
tools/configure vendored
View file

@ -265,11 +265,6 @@ simcc () {
# Some linux setups like to warn about unused results. They are correct,
# but cleaning this up is a lot of work.
GCCOPTS="$GCCOPTS -Wno-unused-result"
# GCC 7.x spits out a lot of warnings about macros containing
# defined() and fall-throughs in switch statements. Fixing all these
# is a waste of time.
GCCOPTS="$GCCOPTS -Wno-expansion-to-defined -Wimplicit-fallthrough=0"
GCCOPTIMIZE=''
LDOPTS="$LDOPTS -lm" # button-sdl.c uses sqrt()
sigaltstack=""