summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-08-27 13:13:49 -0400
committerFranklin Wei <git@fwei.tk>2017-08-27 13:13:49 -0400
commit99e467e4ff5fb16ca5dbfcec54644178c52dc66a (patch)
tree68224ef39e462150e6bc5b38ca270012cd95c90c
parentc7f897faa4276ade8fb26a3522ff5b3041b4cd56 (diff)
downloadrockbox-99e467e4ff5fb16ca5dbfcec54644178c52dc66a.tar.gz
rockbox-99e467e4ff5fb16ca5dbfcec54644178c52dc66a.zip
Revert "Silence GCC 7.x warnings when building simulator"
This reverts commit b13f6e5b67abda2e466731f39d221eec2c9eb576.
-rwxr-xr-xtools/configure5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure
index 7b3df06dcd..0db6501288 100755
--- a/tools/configure
+++ b/tools/configure
@@ -265,11 +265,6 @@ simcc () {
265 # Some linux setups like to warn about unused results. They are correct, 265 # Some linux setups like to warn about unused results. They are correct,
266 # but cleaning this up is a lot of work. 266 # but cleaning this up is a lot of work.
267 GCCOPTS="$GCCOPTS -Wno-unused-result" 267 GCCOPTS="$GCCOPTS -Wno-unused-result"
268 # GCC 7.x spits out a lot of warnings about macros containing
269 # defined() and fall-throughs in switch statements. Fixing all these
270 # is a waste of time.
271 GCCOPTS="$GCCOPTS -Wno-expansion-to-defined -Wimplicit-fallthrough=0"
272
273 GCCOPTIMIZE='' 268 GCCOPTIMIZE=''
274 LDOPTS="$LDOPTS -lm" # button-sdl.c uses sqrt() 269 LDOPTS="$LDOPTS -lm" # button-sdl.c uses sqrt()
275 sigaltstack="" 270 sigaltstack=""