mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Set -fno-omit-frame-pointer
This commit is contained in:
parent
42373ca7a2
commit
a2db10d730
|
@ -221,6 +221,10 @@ if(NOT MSVC AND NOT HAIKU)
|
|||
|
||||
if(EXCEPTION_HANDLING)
|
||||
add_c_compiler_flag_if_supported(OUR_FLAGS -DCONF_EXCEPTION_HANDLING)
|
||||
# use the frame pointer (frame pointer usage is disabled by default in
|
||||
# some architectures like x86_64 and for some optimization levels; and it
|
||||
# may be impossible to walk the call stack without it)
|
||||
add_c_compiler_flag_if_supported(OUR_FLAGS -fno-omit-frame-pointer)
|
||||
endif()
|
||||
|
||||
add_c_compiler_flag_if_supported(OUR_FLAGS_OWN -Wall)
|
||||
|
|
Loading…
Reference in a new issue