From 5186e50a8c952fb3bd9ab415958b237e16575ec7 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Wed, 5 May 2010 21:09:51 -0300 Subject: Compile benchmark algorithms with -O0. --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53e07d09..604650a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,6 +120,15 @@ set(MODULE_benchmark_SOURCES modules/benchmark/sha1.c ) +set_source_files_properties( + modules/benchmark/blowfish.c + modules/benchmark/fftbench.c + modules/benchmark/md5.c + modules/benchmark/sha1.c + PROPERTIES + COMPILE_FLAGS "-O0" +) + foreach (_module ${HARDINFO_MODULES}) add_library(${_module} MODULE ${MODULE_${_module}_SOURCES}) endforeach() -- cgit v1.2.3