Skip to content

Commit 4a30207

Browse files
Use conservative flags for CMAKE_C_FLAGS_DEBUG
1 parent bceda79 commit 4a30207

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/SetBuildOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if(COMPILER STREQUAL "GNU")
3232
elseif(COMPILER STREQUAL "Intel" OR COMPILER STREQUAL "IntelLLVM")
3333
add_compile_definitions(CPRINTEL)
3434
set(CMAKE_C_FLAGS "-qno-opt-dynamic-align -std=gnu99 -fp-model precise -qopenmp")
35-
set(CMAKE_C_FLAGS_DEBUG "-O0 -g")
35+
set(CMAKE_C_FLAGS_DEBUG "-O0 -g -fp-model=strict -Wall")
3636
set(CMAKE_C_FLAGS_RELEASE "-O0 -debug minimal")
3737
set(CMAKE_Fortran_FLAGS "-warn all -check all -standard-semantics -fpmodel=precise -qno-openmp-simd")
3838
if(USE_PDAF)

0 commit comments

Comments
 (0)