summaryrefslogtreecommitdiffstats
path: root/gnu/lib/Makefile
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-05-18 15:02:35 +0000
committeremaste <emaste@FreeBSD.org>2015-05-18 15:02:35 +0000
commit175ecf41754b9248d5fd06e2689ae69b3c280430 (patch)
treeb7fd1ecb67064133fd5c147c5cfface1a2274719 /gnu/lib/Makefile
parent3dafd57ac77c8c05972132e9c4996e10cec248a8 (diff)
downloadFreeBSD-src-175ecf41754b9248d5fd06e2689ae69b3c280430.zip
FreeBSD-src-175ecf41754b9248d5fd06e2689ae69b3c280430.tar.gz
Build libgcov only if we're building base system GCC
Clang uses compiler-rt for the code coverage runtime, and ports GCC provides its own libgcov. PR: 200203 (exp-run) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'gnu/lib/Makefile')
-rw-r--r--gnu/lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 6d28e13..a208c79 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -2,10 +2,10 @@
.include <src.opts.mk>
-SUBDIR= csu libgcc libgcov libdialog libregex libreadline
+SUBDIR= csu libgcc libdialog libregex libreadline
.if ${MK_GCC} != "no"
-SUBDIR+= libgomp
+SUBDIR+= libgcov libgomp
.endif
.if ${MK_SSP} != "no"
OpenPOWER on IntegriCloud