Avoid unintentional activation of TLS code via USE_TLS=0
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Mon, 10 Jun 2019 15:24:15 +0000 (17:24 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jun 2019 15:24:15 +0000 (17:24 +0200)
fixes #2149

Makefile.system

index 44eacda..c24647d 100644 (file)
@@ -1070,7 +1070,7 @@ ifdef USE_SIMPLE_THREADED_LEVEL3
 CCOMMON_OPT    += -DUSE_SIMPLE_THREADED_LEVEL3
 endif
 
-ifdef USE_TLS
+ifeq ($(USE_TLS), 1)
 CCOMMON_OPT += -DUSE_TLS
 endif