svn commit: r320213 - projects/runtime-coverage/share/mk
Ngie Cooper
ngie at FreeBSD.org
Thu Jun 22 04:14:27 UTC 2017
Author: ngie
Date: Thu Jun 22 04:14:25 2017
New Revision: 320213
URL: https://svnweb.freebsd.org/changeset/base/320213
Log:
Add COV_CFLAGS and COV_CXXFLAGS for parity with PO_CFLAGS and PO_CXXFLAGS
These variables will help drive cc/c++ when generating coverage instrumented
binaries.
Modified:
projects/runtime-coverage/share/mk/sys.mk
Modified: projects/runtime-coverage/share/mk/sys.mk
==============================================================================
--- projects/runtime-coverage/share/mk/sys.mk Thu Jun 22 02:46:36 2017 (r320212)
+++ projects/runtime-coverage/share/mk/sys.mk Thu Jun 22 04:14:25 2017 (r320213)
@@ -163,6 +163,7 @@ CFLAGS += -fno-strict-aliasing
.endif
.endif
IR_CFLAGS ?= ${STATIC_CFLAGS:N-O*} ${CFLAGS:N-O*}
+COV_CFLAGS ?= ${CFLAGS}
PO_CFLAGS ?= ${CFLAGS}
# cp(1) is used to copy source files to ${.OBJDIR}, make sure it can handle
@@ -184,6 +185,7 @@ CTFFLAGS += -g
CXX ?= c++
CXXFLAGS ?= ${CFLAGS:N-std=*:N-Wnested-externs:N-W*-prototypes:N-Wno-pointer-sign:N-Wold-style-definition}
IR_CXXFLAGS ?= ${STATIC_CXXFLAGS:N-O*} ${CXXFLAGS:N-O*}
+COV_CXXFLAGS ?= ${CXXFLAGS}
PO_CXXFLAGS ?= ${CXXFLAGS}
DTRACE ?= dtrace
More information about the svn-src-projects
mailing list