about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 200f8d7eea..b0be86b368 100644
--- a/Makerules
+++ b/Makerules
@@ -1233,7 +1233,10 @@ endif
 
 ifeq ($(firstword $(sysd-sorted-done) f)$(firstword $(generating) f),tf)
 -include $(common-objpfx)tls.make
+config-tls := notls
+ifeq ($(use-tls),yes)
 config-tls := tls
+endif
 ifeq ($(use-thread),yes)
 config-tls := thread
 endif