Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2015 16:05:42 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283065 - head/gnu/lib
Message-ID:  <201505181605.t4IG5glF078347@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon May 18 16:05:41 2015
New Revision: 283065
URL: https://svnweb.freebsd.org/changeset/base/283065

Log:
  Only build libreadline if gdb is going to be built
  
  gdb is the only consumer of libreadline which is an INTERNALLIB

Modified:
  head/gnu/lib/Makefile

Modified: head/gnu/lib/Makefile
==============================================================================
--- head/gnu/lib/Makefile	Mon May 18 16:02:44 2015	(r283064)
+++ head/gnu/lib/Makefile	Mon May 18 16:05:41 2015	(r283065)
@@ -2,7 +2,7 @@
 
 .include <src.opts.mk>
 
-SUBDIR= csu libgcc libdialog libregex libreadline
+SUBDIR= csu libgcc libdialog libregex
 
 .if ${MK_GCC} != "no"
 SUBDIR+= libgcov libgomp
@@ -16,6 +16,10 @@ SUBDIR+= libssp
 SUBDIR+= tests
 .endif
 
+.if ${MK_GDB} != "no"
+SUBDIR+=	libreadline
+.endif
+
 # libsupc++ uses libstdc++ headers, although 'make includes' should
 # have taken care of that already.
 .if ${MK_GNUCXX} != "no"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505181605.t4IG5glF078347>