Let's just nip gcc 4.2.1 in the bud and say MK_COVERAGE=no
Reasoning: gcc 4.2.1 lacks -fprofile-dir support
This commit is contained in:
parent
1375d29aad
commit
2d19fcb30e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/runtime-coverage/; revision=324902
@ -468,7 +468,12 @@ MK_${var}_SUPPORT:= yes
|
|||||||
MK_LLDB:= no
|
MK_LLDB:= no
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40800
|
.if ${COMPILER_TYPE} == "gcc"
|
||||||
|
.if ${COMPILER_VERSION} == 40201
|
||||||
|
# gcc 4.2.1 (base) is a dead end. It lacks some niceties that would cleaning
|
||||||
|
# integrate the output with the design of MK_COVERAGE, e.g., -fprofile-dir .
|
||||||
|
MK_COVERAGE:=no
|
||||||
|
.elif ${COMPILER_VERSION} >= 40800
|
||||||
# gcc 4.8 and newer supports libc++, so suppress gnuc++ in that case.
|
# gcc 4.8 and newer supports libc++, so suppress gnuc++ in that case.
|
||||||
# while in theory we could build it with that, we don't want to do
|
# while in theory we could build it with that, we don't want to do
|
||||||
# that since it creates too much confusion for too little gain.
|
# that since it creates too much confusion for too little gain.
|
||||||
@ -478,5 +483,6 @@ MK_LLDB:= no
|
|||||||
MK_GNUCXX:=no
|
MK_GNUCXX:=no
|
||||||
MK_GCC:=no
|
MK_GCC:=no
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
.endif # !target(__<src.opts.mk>__)
|
.endif # !target(__<src.opts.mk>__)
|
||||||
|
Loading…
Reference in New Issue
Block a user