mirror of https://github.com/bsnes-emu/bsnes.git
Yes, I *do* mean -Wno-maybe-uninitialized!
This commit is contained in:
parent
abea3888db
commit
faf91508e2
2
Makefile
2
Makefile
|
@ -108,7 +108,7 @@ endif
|
||||||
|
|
||||||
# GCC's implementation of this warning has false positives, so we skip it
|
# GCC's implementation of this warning has false positives, so we skip it
|
||||||
ifneq ($(shell $(CC) --version 2>&1 | grep "gcc"), )
|
ifneq ($(shell $(CC) --version 2>&1 | grep "gcc"), )
|
||||||
WARNINGS += -no-maybe-uninitialized
|
WARNINGS += -Wno-maybe-uninitialized
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += $(WARNINGS)
|
CFLAGS += $(WARNINGS)
|
||||||
|
|
Loading…
Reference in New Issue