aboutsummaryrefslogtreecommitdiff
path: root/ccan
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-09-01 15:46:37 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-09-02 15:33:54 +1000
commit0f1c75dbb52efddb5e37f343433223803163bcbb (patch)
tree9355a83de0be5479f50f111d18b38c6770c998ec /ccan
parent763b065762663a2bfd133f7daca27d829248a0bb (diff)
downloadskiboot-0f1c75dbb52efddb5e37f343433223803163bcbb.zip
skiboot-0f1c75dbb52efddb5e37f343433223803163bcbb.tar.gz
skiboot-0f1c75dbb52efddb5e37f343433223803163bcbb.tar.bz2
consolidate gcov flags into HOSTGCOVFLAGS for host binaries
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'ccan')
-rw-r--r--ccan/Makefile.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccan/Makefile.check b/ccan/Makefile.check
index 2bc1f1d..a596766 100644
--- a/ccan/Makefile.check
+++ b/ccan/Makefile.check
@@ -28,7 +28,7 @@ $(CCAN_TEST) : % : %.c
$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -O0 -g -I . -Iccan/ -o $@ $<,$<)
$(CCAN_TEST:%=%-gcov): %-gcov : %.c
- $(call Q, HOSTCC , (cd $(dir $<); $(HOSTCC) $(HOSTCFLAGS) -fprofile-arcs -ftest-coverage -O0 -g -I $(shell pwd) -I$(shell pwd)/./ccan/ -pg -o $(notdir $@) $(notdir $<) ), $<)
+ $(call Q, HOSTCC , (cd $(dir $<); $(HOSTCC) $(HOSTCFLAGS) $(HOSTGCOVCFLAGS) -I $(shell pwd) -I$(shell pwd)/./ccan/ -o $(notdir $@) $(notdir $<) ), $<)
-include $(wildcard ccan/*/test/*.d)