svn commit: r283065 - head/gnu/lib
Baptiste Daroussin
bapt at FreeBSD.org
Mon May 18 16:05:42 UTC 2015
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"
More information about the svn-src-all
mailing list