Bug 363828 - Adding TCOV support. r=wtc, sr=julien
authorslavomir.katuscak%sun.com
Mon, 18 Jun 2007 12:27:14 +0000
changeset 7896 d498b10ebbaf2f24489794669054e29f79eb388f
parent 7895 9d8df85fb23dfe54a7b4dec403032752c84dcfef
child 7898 be2cf0bc52df260774b97fa92c17c26ceb9284b7
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
@@ -93,17 +93,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 -D_REENTRANT