Date: Thu, 22 Jun 2017 04:14:26 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r320213 - projects/runtime-coverage/share/mk Message-ID: <201706220414.v5M4EQsd010719@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706220414.v5M4EQsd010719>