svn commit: r307655 - head/share/mk

Ed Maste emaste at FreeBSD.org
Wed Oct 19 19:57:37 UTC 2016


Author: emaste
Date: Wed Oct 19 19:57:36 2016
New Revision: 307655
URL: https://svnweb.freebsd.org/changeset/base/307655

Log:
  Force MK_GDB to no if MK_BINUTILS == no
  
  This is currently encoded in conditional blocks in gnu/lib/Makefile and
  gnu/usr.bin/Makefile. Set it via src.opts.mk to make GDB's dependency
  on binutils more clear.

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Wed Oct 19 19:50:09 2016	(r307654)
+++ head/share/mk/src.opts.mk	Wed Oct 19 19:57:36 2016	(r307655)
@@ -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


More information about the svn-src-head mailing list