diff options
| author | Michael Pavone <pavone@retrodev.com> | 2015-06-27 12:17:18 -0700 |
|---|---|---|
| committer | Michael Pavone <pavone@retrodev.com> | 2015-06-27 12:17:18 -0700 |
| commit | 41427a5cbad6eae33ec644d38227fc7301d7a8c6 (patch) | |
| tree | ef4faaa1184dc182967110397a05bd06d0b3ed9b /Makefile | |
| parent | 0ce892b31ad6767fc1658d47418b9f7d14faab05 (diff) | |
Cleanup some warnings under clang through a combination of code fixes and supressing specific warnings
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,10 +25,10 @@ LIBS=sdl2 glew gl endif #Darwin ifdef DEBUG -CFLAGS:=-ggdb -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration +CFLAGS:=-ggdb -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wno-logical-op-parentheses LDFLAGS:=-ggdb -lm $(shell pkg-config --libs $(LIBS)) else -CFLAGS:=-O2 -flto -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration +CFLAGS:=-O2 -flto -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wno-logical-op-parentheses LDFLAGS:=-O2 -flto -lm $(shell pkg-config --libs $(LIBS)) endif #DEBUG endif #Windows |
