mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-03 11:21:06 +00:00
rlottie: Optimize library size by disabling exception table generation (.eh_frame section)
This commit is contained in:
parent
8e029e1c32
commit
7dc52c6b41
@ -26,6 +26,8 @@ target_compile_options(rlottie
|
||||
-std=c++14
|
||||
-O2
|
||||
-fno-exceptions
|
||||
-fno-unwind-tables
|
||||
-fno-asynchronous-unwind-tables
|
||||
-fno-rtti
|
||||
-Wall
|
||||
-Werror
|
||||
|
@ -7,6 +7,7 @@ rlottie_lib_version = '0.0.1'
|
||||
add_global_arguments('-DDEMO_DIR="@0@/example/resource/"'.format(meson.current_source_dir()), language : 'cpp')
|
||||
|
||||
compiler_flags = ['-std=c++14', '-O2', '-Wall', '-Werror', '-Wextra', '-fno-exceptions', '-fno-rtti',
|
||||
'-fno-unwind-tables' , '-fno-asynchronous-unwind-tables',
|
||||
'-Wnon-virtual-dtor', '-Woverloaded-virtual', '-Wno-unused-parameter', '-fvisibility=hidden']
|
||||
|
||||
if get_option('asan') == true
|
||||
|
Loading…
x
Reference in New Issue
Block a user