mirror of https://github.com/bsnes-emu/bsnes.git
Fix GCC9 build break
This commit is contained in:
parent
9e808b255c
commit
e535d97e84
2
Makefile
2
Makefile
|
@ -99,7 +99,7 @@ endif
|
|||
|
||||
# These must come before the -Wno- flags
|
||||
WARNINGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option
|
||||
WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing -Wno-multichar -Wno-int-in-bool-context
|
||||
WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing -Wno-multichar -Wno-int-in-bool-context -Wno-format-truncation
|
||||
|
||||
# Only add this flag if the compiler supports it
|
||||
ifeq ($(shell $(CC) -x c -c $(NULL) -o $(NULL) -Werror -Wpartial-availability 2> $(NULL); echo $$?),0)
|
||||
|
|
Loading…
Reference in New Issue