diff --git a/External/SPEC/CINT2017rate/502.gcc_r/CMakeLists.txt b/External/SPEC/CINT2017rate/502.gcc_r/CMakeLists.txt --- a/External/SPEC/CINT2017rate/502.gcc_r/CMakeLists.txt +++ b/External/SPEC/CINT2017rate/502.gcc_r/CMakeLists.txt @@ -8,7 +8,7 @@ add_definitions(-DSPEC_502 -DIN_GCC -DHAVE_CONFIG_H) speccpu2017_add_include_dirs(. include spec_qsort) -add_compile_options(-fgnu89-inline) +add_compile_options(-fgnu89-inline -fno-strict-aliasing) ## test ######################################################################## diff --git a/External/SPEC/CINT2017rate/505.mcf_r/CMakeLists.txt b/External/SPEC/CINT2017rate/505.mcf_r/CMakeLists.txt --- a/External/SPEC/CINT2017rate/505.mcf_r/CMakeLists.txt +++ b/External/SPEC/CINT2017rate/505.mcf_r/CMakeLists.txt @@ -7,6 +7,7 @@ speccpu2017_benchmark(RATE) speccpu2017_add_include_dirs(spec_qsort) +add_compile_options(-fno-strict-aliasing) ## test ########################################################################