diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index ad83bceefa7b..1794f3fb9954 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -300,6 +300,10 @@ MK_${var}:= no MK_LLVM_LIBUNWIND:= no .endif +.if ${MK_BINUTILS} == "no" +MK_GDB:= no +.endif + .if ${MK_LIBPTHREAD} == "no" MK_LIBTHR:= no .endif