Allow supplying additional CFLAGS

Package managers may want to supply default CFLAGS that should be used *in addition* to project-specific ones.
This commit is contained in:
Aaron Madlon-Kay 2021-08-18 08:49:33 +09:00 committed by GitHub
parent 6aa19d080a
commit a3640775bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ ifneq ($(strip $(COV_TEST)),)
endif
CC ?= gcc
CFLAGS ?=-Wall -DLIBPCRE -g $(CFLAGS_COV)
CFLAGS +=-Wall -DLIBPCRE -g $(CFLAGS_COV)
LIBS=-lm -lpcre2-8
OBJS=sslh-conf.o common.o sslh-main.o probe.o tls.o argtable3.o udp-listener.o collection.o gap.o