freebsd-dev/gnu/lib/Makefile
Ed Maste 810d5b3420 Build libgomp only if we're also building base system GCC
Clang's OpenMP support will emit Intel OpenMP API library calls,
and will therefore require libiomp (or whatever name is settled on).
An up-to-date version of libgomp is included in ports or pkg GCC.
Thus, there is no reason to build base libgomp without base system GCC.

PR:		199979 (exp-run)
Reviewed by:	pfg
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2459
2015-05-15 14:22:33 +00:00

26 lines
426 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
SUBDIR= csu libgcc libgcov libdialog libregex libreadline
.if ${MK_GCC} != "no"
SUBDIR+= libgomp
.endif
.if ${MK_SSP} != "no"
SUBDIR+= libssp
.endif
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no"
SUBDIR+= libstdc++ libsupc++
.endif
.include <bsd.subdir.mk>