From 12b45f2772f1d0559f69abddf63a377f7c568446 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Sat, 23 Apr 2022 18:20:01 +0200 Subject: [PATCH] Makefile: use the override directive for CFLAGS --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 24b50b5..cc50e4e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,7 +4,8 @@ #============================================================================== CC ?= gcc -CFLAGS += -Wall -Wno-unused-parameter -O2 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 `pkg-config --cflags --libs gio-2.0 libffi` -g +# See: https://www.gnu.org/software/make/manual/make.html#Override-Directive +override CFLAGS += -Wall -Wno-unused-parameter -O2 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 `pkg-config --cflags --libs gio-2.0 libffi` -g OBJ = dfuzzer.o introspection.o fuzz.o rand.o util.o TARGET = dfuzzer all: dfuzzer