From 0ea3661a6ba0baaa39b95e836e8f2c87e2f4c20f Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 13 Mar 2021 14:08:29 +0300 Subject: add configuration for fts, handle if it is available on system --- config.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.mk') diff --git a/config.mk b/config.mk index be23125..c9c54bb 100644 --- a/config.mk +++ b/config.mk @@ -18,6 +18,10 @@ TLSLIB = -ltls -lbearssl # in-source zlib. ZLIB = -lz +# If fts is available on your system, we need to disable building it here. +# Change with 1 if you are using musl-fts, 2 if you are using glibc. +FTS=0 + CFLAGS += -Wall -Wno-pointer-sign -Wno-maybe-uninitialized \ -Wno-attributes -I${PWD}/includedir \ -D 'DEF_WEAK(n)=_Static_assert(1, "")' \ @@ -25,3 +29,7 @@ CFLAGS += -Wall -Wno-pointer-sign -Wno-maybe-uninitialized \ -idirafter ${PWD}/sys \ -idirafter ${PWD}/lib/libutil \ -idirafter ${PWD}/lib/libcrypto + +# If you are using a less implementation with tags support, uncomment +# the following. +# CFLAGS += -DHAVE_LESS_T -- cgit v1.2.3