1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-09 06:20:45 +00:00

fix build system debug config to include -fno-omit-frame-pointer

This commit is contained in:
ailin-nemui 2019-08-13 15:00:41 +02:00
parent f3e037f434
commit 89686681c1

View File

@ -443,6 +443,9 @@ add_project_arguments(cc.get_supported_arguments('-Werror=declaration-after-stat
#### personality ####
add_project_arguments(cc.get_supported_arguments('-fno-strict-aliasing'), language : 'c')
if get_option('buildtype').contains('debug')
add_project_arguments(cc.get_supported_arguments('-fno-omit-frame-pointer'), language : 'c')
endif
if want_fuzzer
if not cc.has_argument('-fsanitize=fuzzer-no-link')