Bug 363828 - Adding TCOV support. r=wtc, sr=julien NSS_3_11_BRANCH
authorslavomir.katuscak%sun.com
Mon, 18 Jun 2007 12:29:33 +0000
branchNSS_3_11_BRANCH
changeset 7897 f5e00e0ec37f0a76daf23c5ca72c556517acece8
parent 7874 f420f04a2d8212964a4ffdf1c69ff57d1863d7c1 (current diff)
parent 7886 48f58cf955ad6041a69e1377852f876353c2c657 (diff)
child 7906 835a4163fd57b2b1fe95390deba4f04617960943
push idunknown
push userunknown
push dateunknown
reviewerswtc, julien
bugs363828
Bug 363828 - Adding TCOV support. r=wtc, sr=julien
security/coreconf/SunOS5.mk
--- a/security/coreconf/SunOS5.mk
+++ b/security/coreconf/SunOS5.mk
@@ -112,17 +112,20 @@ else
 	CCC        = CC
 	ASFLAGS   += -Wa,-P
 	OS_CFLAGS += $(NOMD_OS_CFLAGS) $(ARCHFLAG)
 	ifndef BUILD_OPT
 		OS_CFLAGS  += -xs
 	else
 		OPTIMIZER = -xO4
 	endif
-
+	ifdef USE_TCOV
+		CC += -xprofile=tcov
+		CCC += -xprofile=tcov
+	endif
 endif
 
 INCLUDES   += -I/usr/dt/include -I/usr/openwin/include
 
 RANLIB      = echo
 CPU_ARCH    = sparc
 OS_DEFINES += -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS