diff options
Diffstat (limited to 'gnu/lib/Makefile')
-rw-r--r-- | gnu/lib/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile index 373c280..796cefc 100644 --- a/gnu/lib/Makefile +++ b/gnu/lib/Makefile @@ -2,7 +2,11 @@ .include <src.opts.mk> -SUBDIR= csu libgcc libgcov libdialog libgomp libregex libreadline +SUBDIR= csu libgcc libdialog libregex + +.if ${MK_GCC} != "no" +SUBDIR+= libgcov libgomp +.endif .if ${MK_SSP} != "no" SUBDIR+= libssp @@ -12,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" |