From 5462dfe326177b8a00dc4e4c9b9e18eb2e75b7ef Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 2 Jan 2021 17:36:33 +0300 Subject: config.mk: saner default configuration --- config.mk | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/config.mk b/config.mk index c064088..be23125 100644 --- a/config.mk +++ b/config.mk @@ -2,11 +2,11 @@ PREFIX = /usr/local BINDIR = ${PREFIX}/bin MANPREFIX = ${PREFIX}/share/man -AR = ar -CC = cc -RANLIB = ranlib -RM = rm -f -YACC = yacc +AR ?= ar +CC ?= cc +RANLIB ?= ranlib +RM ?= rm -f +YACC ?= yacc # You can uncomment the latter if you aren't using libtls-bearssl. If you @@ -18,12 +18,10 @@ TLSLIB = -ltls -lbearssl # in-source zlib. ZLIB = -lz -CFLAGS = -Wall -Wno-pointer-sign -Wno-maybe-uninitialized \ +CFLAGS += -Wall -Wno-pointer-sign -Wno-maybe-uninitialized \ -Wno-attributes -I${PWD}/includedir \ -D 'DEF_WEAK(n)=_Static_assert(1, "")' \ -idirafter ${PWD}/include \ -idirafter ${PWD}/sys \ -idirafter ${PWD}/lib/libutil \ -idirafter ${PWD}/lib/libcrypto - -LDFLAGS = -static -- cgit v1.2.3