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"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"