From fd1444e4c9a3b1f2145e465b4f10802a84df0e88 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 20 Apr 2017 19:29:35 +0000 Subject: [PATCH] Only build libreadline for gdb, binutils actually does not need it --- gnu/lib/Makefile | 5 +---- 1 file changed, 1 insertion(+), 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"