mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
747c0dd67c
commit
d485dbc7d8
2 changed files with 3 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1744,6 +1744,7 @@ OLD_FILES+=usr/include/gcc/4.2/ppc-asm.h
|
|||
OLD_FILES+=usr/include/gcc/4.2/spe.h
|
||||
.endif
|
||||
OLD_FILES+=usr/include/omp.h
|
||||
OLD_FILES+=usr/lib/libgcov.a
|
||||
OLD_FILES+=usr/lib/libgomp.a
|
||||
OLD_FILES+=usr/lib/libgomp.so
|
||||
OLD_FILES+=usr/lib/libgomp.so.1
|
||||
|
|
|
|||
Loading…
Reference in a new issue