diff options
author | João Silva | 2017-08-16 17:59:11 +0100 |
---|---|---|
committer | João Silva | 2017-08-16 17:59:11 +0100 |
commit | aef91917f7ae66da1e93e1f4c1b21f5b2555ad35 (patch) | |
tree | f1d740e45522954e48e036103268c5ccb5dcbef2 /Makefile | |
parent | aa610b2ba997a945c77ce06e9a33638dedb480da (diff) | |
download | snes9x2005-aef91917f7ae66da1e93e1f4c1b21f5b2555ad35.tar.gz snes9x2005-aef91917f7ae66da1e93e1f4c1b21f5b2555ad35.tar.bz2 snes9x2005-aef91917f7ae66da1e93e1f4c1b21f5b2555ad35.zip |
Changed compile-time flags to use C89 and fixed new warnings raised.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -246,6 +246,10 @@ else ifeq ($(NO_GCC), 1) else WARNINGS := \ -Wall \ + -Wextra \ + -pedantic \ + -Wno-implicit-function-declaration \ + -Wno-implicit-fallthrough \ -Wno-sign-compare \ -Wno-unused-variable \ -Wno-unused-function \ @@ -256,9 +260,9 @@ else endif ifeq ($(DEBUG),1) - FLAGS += -O0 -g + FLAGS += -O0 -g -std=c89 else - FLAGS += -O2 -DNDEBUG + FLAGS += -O2 -DNDEBUG -std=c89 endif ifeq ($(PERF_TEST),1) |