From 06d54466fd98362ec20ea947ab000fc0fd3b8ebe Mon Sep 17 00:00:00 2001 From: chenrun1 Date: Tue, 31 Oct 2023 10:44:35 +0800 Subject: [PATCH] coremark:Fix renaming issues with other libraries The crc16 naming implemented in coremark is duplicated in zblue. Signed-off-by: chenrun1 --- benchmarks/coremark/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmarks/coremark/Makefile b/benchmarks/coremark/Makefile index 2274d0373..5965e1bf3 100644 --- a/benchmarks/coremark/Makefile +++ b/benchmarks/coremark/Makefile @@ -39,6 +39,7 @@ VPATH += $(COREMARK_UNPACKNAME)$(DELIM)posix DEPPATH += --dep-path $(COREMARK_UNPACKNAME) DEPPATH += --dep-path $(COREMARK_UNPACKNAME)$(DELIM)posix +CFLAGS += -Dcrc16=coremark_crc16 CFLAGS += -Wno-strict-prototypes -Wno-undef ifeq ($(CONFIG_COREMARK_MULTITHREAD_OVERRIDE),y)