diff --git a/benchmarks/dhrystone/CMakeLists.txt b/benchmarks/dhrystone/CMakeLists.txt index aec5b111f..dd503077a 100644 --- a/benchmarks/dhrystone/CMakeLists.txt +++ b/benchmarks/dhrystone/CMakeLists.txt @@ -44,7 +44,10 @@ if(CONFIG_BENCHMARK_DHRYSTONE) endif() endif() - set(CFLAGS -DMSC_CLOCK) + set(CFLAGS + -DMSC_CLOCK -Wno-maybe-uninitialized -Wno-implicit-int + -Wno-strict-prototypes -Wno-implicit-function-declaration + -Wno-return-type) set(SRCS dhrystone/v2.2/dry.c dhrystone/v2.1/dhry_2.c) nuttx_add_application( diff --git a/benchmarks/dhrystone/Makefile b/benchmarks/dhrystone/Makefile index db2e16eab..17f0912d4 100644 --- a/benchmarks/dhrystone/Makefile +++ b/benchmarks/dhrystone/Makefile @@ -29,6 +29,7 @@ MODULE = $(CONFIG_BENCHMARK_DHRYSTONE) CFLAGS += -DMSC_CLOCK -Wno-implicit-int -Wno-strict-prototypes CFLAGS += -Wno-implicit-function-declaration -Wno-return-type +CFLAGS += -Wno-maybe-uninitialized CSRCS += dhrystone/v2.1/dhry_2.c MAINSRC = dhrystone/v2.2/dry.c