blob: 0b1cfbdef69afab520f82c1c62ea103b79ff87e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# $OpenBSD: Makefile.inc,v 1.1 2017/05/29 20:57:21 markus Exp $
CDIAGFLAGS= -Wall
#CDIAGFLAGS+= -Werror
CDIAGFLAGS+= -Wextra
CDIAGFLAGS+= -Wpointer-arith
CDIAGFLAGS+= -Wstrict-prototypes
CDIAGFLAGS+= -Wmissing-prototypes
CDIAGFLAGS+= -Wunused
CDIAGFLAGS+= -Wsign-compare
CDIAGFLAGS+= -Wshadow
CDIAGFLAGS+= -Wpointer-sign
CDIAGFLAGS+= -Wno-unused-parameter #-Wno-error=unused-parameter
CDIAGFLAGS+= -Wuninitialized
.if (${CC:L} == "gcc" || ${CC:L} == "cc")
CDIAGFLAGS+= -Wbounded
.endif
DEBUG= -g
|