aboutsummaryrefslogtreecommitdiff
path: root/src/tls/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/Makefile.in')
-rw-r--r--src/tls/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tls/Makefile.in b/src/tls/Makefile.in
index 4b32fd84d..60505a56c 100644
--- a/src/tls/Makefile.in
+++ b/src/tls/Makefile.in
@@ -19,6 +19,11 @@ ERLSHLIBS = ../tls_drv.so
OUTDIR = ..
EFLAGS = -I .. -pz ..
+# make debug=true to compile Erlang module with debug informations.
+ifdef debug
+ EFLAGS+=+debug_info
+endif
+
OBJS = \
$(OUTDIR)/tls.beam