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))