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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to