From ac45dc11a3d4a15e955bf4ea5ed7c8db2f287306 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 14 Feb 2025 11:30:57 +0100 Subject: [PATCH] fixes dhrystone make settings --- benchmarks/dhrystone/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmarks/dhrystone/Makefile b/benchmarks/dhrystone/Makefile index ba8ede8..32cba0a 100644 --- a/benchmarks/dhrystone/Makefile +++ b/benchmarks/dhrystone/Makefile @@ -17,6 +17,7 @@ endif # '-lgcc -lm' are needed to add softfloat routines CFLAGS := -g -O3 -DITERATIONS=$(ITERATIONS) -DHZ=32768 -DTIME -DNO_INIT -fno-inline -fno-builtin-printf -fno-common -Wno-implicit \ -funroll-loops -fpeel-loops -fgcse-sm -fgcse-las +LDFLAGS := -Wl,--wrap=scanf TOOL_DIR=$(dir $(compiler))