summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-04-20 19:29:35 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-04-20 19:29:35 +0000
commitfd1444e4c9a3b1f2145e465b4f10802a84df0e88 (patch)
treeb88550333c0c66cba70364e81baffa6f6c3bd906 /gnu
parenta17665bcefb6b60d8dfb5ae95d9dfce6a3ca79c7 (diff)
downloadsrc-test2-fd1444e4c9a3b1f2145e465b4f10802a84df0e88.tar.gz
src-test2-fd1444e4c9a3b1f2145e465b4f10802a84df0e88.zip
Only build libreadline for gdb, binutils actually does not need it
Notes
Notes: svn path=/head/; revision=317210
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 036c42f89edb..5753da8b40a7 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -7,10 +7,7 @@ SUBDIR.${MK_DIALOG}+= libdialog
SUBDIR.${MK_GCC}+= libgcov libgomp
SUBDIR.${MK_SSP}+= libssp
SUBDIR.${MK_TESTS}+= tests
-
-.if ${MK_BINUTILS} != "no" && ${MK_GDB} != "no"
-SUBDIR+= libreadline
-.endif
+SUBDIR.${MK_GDB}+= libreadline
.if ${MK_GNU_DIFF} != "no" || ${MK_GNU_GREP} != "no" || \
${MK_GNU_GREP_COMPAT} != "no" || ${MK_GDB} != "no"