[Skiboot] [PATCH] libflash: fix gcov build

Stewart Smith stewart at linux.ibm.com
Mon Jun 4 14:10:05 AEST 2018


Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
 libflash/test/Makefile.check | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libflash/test/Makefile.check b/libflash/test/Makefile.check
index a50f47ce7ba8..f4ad96ef25b1 100644
--- a/libflash/test/Makefile.check
+++ b/libflash/test/Makefile.check
@@ -30,7 +30,7 @@ $(LIBFLASH_TEST) : % : %.c
 	$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) $(TEST_FLAGS) -Wno-suggest-attribute=const -O0 -g -I include -I . -o $@ $< $(LIBFLASH_TEST_EXTRA), $<)
 
 $(LIBFLASH_TEST:%=%-gcov): %-gcov : %.c %
-	$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) $(HOSTGCOVCFLAGS) -I include -I . -o $@ $< libflash/test/stubs.o, $<)
+	$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) $(HOSTGCOVCFLAGS) $(TEST_FLAGS) -Wno-suggest-attribute=const -I include -I . -o $@ $< $(LIBFLASH_TEST_EXTRA), $<)
 
 -include $(wildcard libflash/test/*.d)
 
-- 
2.17.1



More information about the Skiboot mailing list