summaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 6dbef4d4065b..2cbb80cc7dcf 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -4,7 +4,10 @@
SUBDIR=
SUBDIR.${MK_DIALOG}+= libdialog
-SUBDIR.${MK_GCC}+= libgcov libgomp
+SUBDIR.${MK_GCC}+= libgcov
+.if ${MK_GCC} != "no" && ${MK_OPENMP} == "no"
+SUBDIR+= libgomp
+.endif
SUBDIR.${MK_SSP}+= libssp
SUBDIR.${MK_TESTS}+= tests