From 3afa6b5a5a1711fa072f4d5e6f25fcb23070e473 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 5 Feb 2022 12:27:30 +0100 Subject: [PATCH] Use pedantic warnings in Makefile default config as well We aim to be standard-conformant, and the CMakeLists already does it --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1ca575ac..d7124cd9 100644 --- a/Makefile +++ b/Makefile @@ -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 VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null` -WARNFLAGS := -Wall +WARNFLAGS := -Wall -pedantic # Overridable CFLAGS CFLAGS ?= -O3 -flto -DNDEBUG