1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #1084 from ailin-nemui/build-sys-fp

fix build system debug config to include -fno-omit-frame-pointer
This commit is contained in:
ailin-nemui 2019-08-13 17:50:14 +02:00 committed by GitHub
commit 256b6aa2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -443,6 +443,9 @@ add_project_arguments(cc.get_supported_arguments('-Werror=declaration-after-stat
#### personality #### #### personality ####
add_project_arguments(cc.get_supported_arguments('-fno-strict-aliasing'), language : 'c') 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 want_fuzzer
if not cc.has_argument('-fsanitize=fuzzer-no-link') if not cc.has_argument('-fsanitize=fuzzer-no-link')