turn on warnings
This commit is contained in:
parent
2711375a4a
commit
1f18533629
2
Makefile
2
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}}
|
||||
|
Loading…
Reference in New Issue
Block a user