Add the coverage cflags to the link step as well to make sure

that we link in the support libraries.

llvm-svn: 211131
This commit is contained in:
Eric Christopher 2014-06-17 23:27:32 +00:00
parent 343f5cdfad
commit f6e456dd63
1 changed files with 1 additions and 0 deletions

View File

@ -377,6 +377,7 @@ ifeq ($(ENABLE_COVERAGE),1)
BuildMode := $(BuildMode)+Coverage
CXX.Flags += -ftest-coverage -fprofile-arcs
C.Flags += -ftest-coverage -fprofile-arcs
LD.Flags += -ftest-coverage -fprofile-arcs
endif
# If DISABLE_ASSERTIONS=1 is specified (make command line or configured),