aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
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