diff options
author | Eric Christopher <echristo@gmail.com> | 2014-06-17 23:27:32 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-06-17 23:27:32 +0000 |
commit | 868e579be6c533836731500b47fc6d6d2e8e5314 (patch) | |
tree | d8bc82b57f2921032f3530960a676c6aef8501f1 /Makefile.rules | |
parent | 41b33299cfb43b4bd637140e175f8ddd0050e690 (diff) | |
download | llvm-868e579be6c533836731500b47fc6d6d2e8e5314.tar.gz llvm-868e579be6c533836731500b47fc6d6d2e8e5314.tar.bz2 llvm-868e579be6c533836731500b47fc6d6d2e8e5314.tar.xz |
Add the coverage cflags to the link step as well to make sure
that we link in the support libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 941797107c..ff0a3e3f81 100644 --- 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), |