aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-03-13 14:08:29 +0300
committerCem Keylan <cem@ckyln.com>2021-03-13 14:08:29 +0300
commit0ea3661a6ba0baaa39b95e836e8f2c87e2f4c20f (patch)
treeb4f26bf5b77a8818c972a36d01b29adb533a5c83 /config.mk
parentedf65a21574455989192e1a91453aa6f7dc90d53 (diff)
downloadotools-0ea3661a6ba0baaa39b95e836e8f2c87e2f4c20f.tar.gz
add configuration for fts, handle if it is available on system1.3.1
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 8 insertions, 0 deletions
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