aboutsummaryrefslogtreecommitdiffstats
path: root/shells/bash2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash2/Makefile')
-rw-r--r--shells/bash2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index 79af5cf99606..46e9bbccda1d 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -40,6 +40,9 @@ CONFIGURE_ENV= LDFLAGS=-static
.else
CONFIGURE_ARGS+= --enable-static-link=no
.endif
+.if defined(DEBUG)
+CONFIGURE_ARGS+= --debug
+.endif
MAN1= bash.1 bashbug.1
post-patch: