Update gcov options.

This commit is contained in:
Pentarctagon 2021-06-09 02:51:17 -05:00
parent f4e6e1861f
commit e53d9c321d
No known key found for this signature in database
GPG Key ID: 9456BC54A21DBFA0

View File

@ -562,8 +562,8 @@ for env in [test_env, client_env, env]:
rel_link_flags += " -pg"
if env["profiler"] == "gcov":
rel_comp_flags += " -fprofile-arcs -ftest-coverage"
rel_link_flags += " -fprofile-arcs"
rel_comp_flags += " --coverage"
rel_link_flags += " --coverage"
if env["profiler"] == "gperftools":
rel_comp_flags += ""