Skip to content
Myr

meson: reduce binary size: we don't need unwind tables

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent 4067755 · Browse files · 1 file+4 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−3 removed

  • other:+4 added−3 removed

1 file+4 added−3 removed

modified:meson.build+4 added-3 removed
7 unmodified lines
8 'werror=true',9 'b_ndebug=if-release'])1011is_debug_build = get_option('buildtype').startswith('debug')12cc = meson.get_compiler('c')1314add_project_arguments(15 ['-D_GNU_SOURCE'] +15 (is_debug_build ? ['-D_DEBUG'] : []),16 (is_debug_build17 ? ['-D_DEBUG']18 : [cc.get_supported_arguments('-fno-asynchronous-unwind-tables')]),19 language: 'c',20)2119cc = meson.get_compiler('c')2022if cc.has_function('memfd_create',23 args: ['-D_GNU_SOURCE=200809L'],24 prefix: '#include <sys/mman.h>')25 add_project_arguments('-DMEMFD_CREATE', language: 'c')
181 unmodified lines