configure chmod 755 etc.

lib/tcov.c:
- can't be cross-compiled (needs stdio.h)
- can be included in libtcc1.a

Reason why bt-xxx.o/bcheck.o are linked separatly is because we
don't want then to linked into exe's and dlls at the same time.
This commit is contained in:
grischka
2021-01-26 16:51:20 +01:00
parent 25628cffe5
commit 557b4a1f6d
10 changed files with 21 additions and 15 deletions

View File

@@ -1915,10 +1915,8 @@ static void pe_add_runtime(TCCState *s1, struct pe_info *pe)
tcc_add_btstub(s1);
}
#endif
if (s1->test_coverage) {
tcc_add_support(s1, "tcov.o");
if (s1->test_coverage)
tcc_add_tcov(s1);
}
/* grab the startup code from libtcc1.a */
#ifdef TCC_IS_NATIVE