Skip to content

Commit a005f87

Browse files
committed
Enforce Werror and Wextra to default CFLAGS
Signed-off-by: Shreenidhi Shedi <yesshedi@gmail.com>
1 parent 5114a21 commit a005f87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ endif
5757

5858
# Compiler and Linker Options
5959
CFLAGS ?= -O2 -g
60-
CFLAGS += -Wall -Wtype-limits -Wunused-parameter
60+
CFLAGS += -Wall -Wtype-limits -Wunused-parameter -Werror -Wextra
6161
CFLAGS += -fno-strict-aliasing # code needs a lot of work before strict aliasing is safe
6262
CPPFLAGS += -D_GNU_SOURCE
6363
# Turn on transparent support for LFS

0 commit comments

Comments
 (0)