From: Hermet Park Date: Wed, 3 Nov 2021 10:47:48 +0000 (+0900) Subject: optimize binary size. X-Git-Tag: accepted/tizen/unified/20211112.135649~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c8a50c5ca29be236cf5a4d57650ba0612fd1980;p=platform%2Fcore%2Fgraphics%2Ftizenvg.git optimize binary size. apply two more compiler options to reduce binary size. Saved about 7kb. --- diff --git a/src/meson.build b/src/meson.build index 49a9be7..8d1a270 100644 --- a/src/meson.build +++ b/src/meson.build @@ -9,7 +9,7 @@ if (cc.get_id() != 'msvc') compiler_flags += ['-mfpu=neon'] endif if get_option('b_sanitize') == 'none' - compiler_flags += ['-fno-exceptions', '-fno-rtti', + compiler_flags += ['-s', '-fno-exceptions', '-fno-rtti', '-fno-stack-protector', '-fno-math-errno', '-fno-unwind-tables' , '-fno-asynchronous-unwind-tables', '-Woverloaded-virtual', '-Wno-unused-parameter'] endif