File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ LIBOUT='libjsonfortran.a' # name of json library
87
87
INTELCOMPILERFLAGS=' -c -O2 -warn -stand f08 -diag-disable 7601 -diag-disable 4013 -diag-disable 5142 -traceback'
88
88
# INTELCOMPILERFLAGS='-c -O2 -warn -traceback -stand f08 -assume protect_parens -assume buffered_io -check all'
89
89
90
- GNUCOMPILERFLAGS=' -c -O2 -fbacktrace -Wall -Wextra -Wno-maybe-uninitialized -Wno-unused-function -pedantic -std=f2008'
90
+ GNUCOMPILERFLAGS=' -c -O2 -fbacktrace -Wall -Wextra -Wno-maybe-uninitialized -Wno-unused-function -pedantic -std=f2008 -fno-omit-frame-pointer '
91
91
92
92
FCOMPILER=' gnu' # Set default compiler to gfortran
93
93
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ if ( NOT Fortran_FLAGS_INIT )
28
28
set ( CMAKE_Fortran_FLAGS_COVERAGE "-fprofile-arcs -ftest-coverage -O0" CACHE STRING
29
29
"Fortran compiler flags for coverage configuration" )
30
30
if ( ENABLE_BACK_TRACE )
31
- set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fbacktrace" )
31
+ set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fbacktrace -fno-omit-frame-pointer " )
32
32
endif ()
33
33
if ( ENABLE_COMPILETIME_CHECKS )
34
34
set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Wall -Wextra -Wno-maybe-uninitialized -pedantic -std=f2008" )
35
35
endif ()
36
36
if ( ENABLE_RUNTIME_CHECKS )
37
- set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fcheck=all" )
37
+ set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fcheck=all -fno-omit-frame-pointer " )
38
38
endif ()
39
39
endif ()
40
40
endif ()
You can’t perform that action at this time.
0 commit comments