diff --git a/meson.build b/meson.build index 496d71da..05ea2b96 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('thorvg', 'cpp', - default_options : ['buildtype=debugoptimized', 'b_sanitize=none', 'werror=false', 'optimization=s', 'cpp_std=c++14'], + default_options : ['buildtype=debugoptimized', 'b_sanitize=none', 'werror=false', 'optimization=s', 'cpp_std=c++14', 'strip=true'], version : '0.9.99', license : 'MIT') diff --git a/src/meson.build b/src/meson.build index 93541b1e..d1e84c0a 100644 --- a/src/meson.build +++ b/src/meson.build @@ -30,7 +30,7 @@ elif (cc.get_id() != 'msvc') compiler_flags += ['-mfpu=neon'] endif if get_option('b_sanitize') == 'none' - compiler_flags += ['-s', '-fno-exceptions', '-fno-rtti', '-fno-stack-protector', '-fno-math-errno', + compiler_flags += ['-fno-exceptions', '-fno-rtti', '-fno-stack-protector', '-fno-math-errno', '-fno-unwind-tables' , '-fno-asynchronous-unwind-tables', '-Woverloaded-virtual', '-Wno-unused-parameter'] endif