Use pedantic warnings in Makefile default config as well

We aim to be standard-conformant, and the CMakeLists already does it
This commit is contained in:
ISSOtm
2022-02-05 12:27:30 +01:00
committed by Eldred Habert
parent 9b49f788e4
commit 3afa6b5a5a

View File

@@ -30,7 +30,7 @@ PNGLDLIBS := `${PKG_CONFIG} --libs-only-l libpng`
# Note: if this comes up empty, `version.c` will automatically fall back to last release number # Note: if this comes up empty, `version.c` will automatically fall back to last release number
VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null` VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null`
WARNFLAGS := -Wall WARNFLAGS := -Wall -pedantic
# Overridable CFLAGS # Overridable CFLAGS
CFLAGS ?= -O3 -flto -DNDEBUG CFLAGS ?= -O3 -flto -DNDEBUG