From 1055c27bcf88b927b453cc3b387eddbe5e8ea96f Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Sat, 22 Jan 2022 15:49:16 -0500 Subject: [PATCH] Update Makefile build flags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f63c14d..fe881c8 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ OBJ_DIR = $(BUILD_DIR)/objs CC = gcc AR = ar -CFLAGS = -O2 -s -std=gnu99 -pedantic -Wall -D_GNU_SOURCE +CFLAGS = -O2 -s -std=gnu99 -pedantic -Wall -Wextra -Wimplicit-fallthrough=0 -Wformat=2 -Wformat-nonliteral -Wformat-security -Wshadow -Wpointer-arith -Wmissing-prototypes -Wunused-const-variable=0 -Wcast-qual -Wsign-conversion -D_GNU_SOURCE -DNK_USE_CAPABILITY -Wno-discarded-qualifiers # Not required for glibc >= 2.17. # The CMake build script will perform detection, but this Makefile is simple. #LINK_LIBS = -lrt