Skip to content

Commit

Permalink
Makefile: use the override directive for CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
mrc0mmand committed Apr 23, 2022
1 parent 088b787 commit 12b45f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12b45f2

Please sign in to comment.