[Midnightbsd-cvs] src [9766] trunk/gnu/lib/Makefile: conditionalize gcc depends
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jan 21 15:35:55 EST 2018
Revision: 9766
http://svnweb.midnightbsd.org/src/?rev=9766
Author: laffer1
Date: 2018-01-21 15:35:54 -0500 (Sun, 21 Jan 2018)
Log Message:
-----------
conditionalize gcc depends
Modified Paths:
--------------
trunk/gnu/lib/Makefile
Modified: trunk/gnu/lib/Makefile
===================================================================
--- trunk/gnu/lib/Makefile 2018-01-20 21:48:45 UTC (rev 9765)
+++ trunk/gnu/lib/Makefile 2018-01-21 20:35:54 UTC (rev 9766)
@@ -3,13 +3,23 @@
.include <bsd.own.mk>
-SUBDIR= csu libgcc libgcov libdialog libgomp libodialog libregex libreadline \
- libssp
+SUBDIR= csu libgcc libdialog libodialog libregex libreadline
+.if ${MK_GCC} != "no"
+SUBDIR+= libgcov libgomp
+.endif
+
+.if ${MK_SSP} != "no"
+SUBDIR+= libssp
+.endif
+
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no"
SUBDIR+= libstdc++ libsupc++
+SUBDIR_DEPENDS_libsupc++:= libstdc++
.endif
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
More information about the Midnightbsd-cvs
mailing list