forked from len0rd/rockbox
Silence GCC 7.x warnings when building simulator
Adds -Wno-expansion-to-defined and -Wimplicit-fallthrough=0 to sim opts. Change-Id: I62148e392446ae6a3fbe4c4d55770b72962e393d
This commit is contained in:
parent
3c514f8e20
commit
b13f6e5b67
1 changed files with 5 additions and 0 deletions
5
tools/configure
vendored
5
tools/configure
vendored
|
@ -265,6 +265,11 @@ 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=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue