From b935579f5249aa21345ce0115e3937951aee4e17 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Wed, 19 Jul 2023 11:42:50 -0500 Subject: [PATCH] Added -Wno-unused-function to build rules for test-runner/bench-runner Especially with partial builds of tests (TESTS=tests/t1_rbyd.toml) becoming more useful, these warning have little value and hide other, actually-useful warnings. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 50167156..e5012c85 100644 --- a/Makefile +++ b/Makefile @@ -352,6 +352,7 @@ summary-diff sizes-diff: $(OBJ) $(CI) ## Build the test-runner .PHONY: test-runner build-test +test-runner build-test: CFLAGS+=-Wno-unused-function ifndef NO_COV test-runner build-test: CFLAGS+=--coverage endif @@ -403,6 +404,7 @@ testmarks-diff: $(TEST_CSV) ## Build the bench-runner .PHONY: bench-runner build-bench +bench-runner build-bench: CFLAGS+=-Wno-unused-function ifdef YES_COV bench-runner build-bench: CFLAGS+=--coverage endif