From 1f18533629f5f3204c79569fe34964e86421b88d Mon Sep 17 00:00:00 2001 From: anon Date: Mon, 25 Sep 2023 23:15:12 +0200 Subject: [PATCH] turn on warnings --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 823b481..a21aaed 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ LIBS:=ncurses readline history CC:=gcc CFLAGS:=-Wall -Wextra -Wpedantic -CFLAGS +=$(if $(DEBUG),-O0 -ggdb,-O3 -flto=auto -fomit-frame-pointer) +CFLAGS +=$(if $(DEBUG),-O0 -ggdb -Wall -Wpedantic,-O3 -flto=auto -fomit-frame-pointer) CFLAGS +=$(if $(SAN),-fsanitize=${SAN}) CPPFLAGS:=-I config/ -I ${CHDRD} ${shell pkg-config --cflags ${LIBS}} LDLIBS=${shell pkg-config --libs ${LIBS}}