nss build question:how to set CFLAGS and LDFLAGS

NSS-3.33

I wanted to get code coverage of nss(mainly certutil).So I tried to add '-f=
profile-arcs -ftest-coverage' to CFLAGS in command.mk. While it failed, it =
seems it's because compiling and linking are separate. '-fprofile-arcs -fte=
st-coverage' also need to be added to LDFLAGS,while I didn't find it.

Can you tell me how to configure Makefile or others to get code coverage, o=
r is there any convenient way to set CFLAGS CXXFLAGS and LDFLAGS, just like=
 './configure CFLAGS=3D...'

Thanks
0
chenchaotoc
5/16/2018 1:05:21 PM
mozilla.dev.security 649 articles. 0 followers. Post Follow

0 Replies
182 Views

Similar Articles

[PageSpeed] 32

Reply: