projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b3329
)
Add the coverage cflags to the link step as well to make sure
author
Eric Christopher
<echristo@gmail.com>
Tue, 17 Jun 2014 23:27:32 +0000
(23:27 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Tue, 17 Jun 2014 23:27:32 +0000
(23:27 +0000)
that we link in the support libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211131
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index 941797107c7849ddf76efca0e97dcbca8306f74c..ff0a3e3f81915b8b2f1cb41f7ca848aae41b6716 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-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),