projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a5bdca
)
optimize binary size.
author
Hermet Park
<chuneon.park@samsung.com>
Wed, 3 Nov 2021 10:47:48 +0000
(19:47 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Thu, 4 Nov 2021 00:39:17 +0000
(09:39 +0900)
apply two more compiler options to reduce binary size.
Saved about 7kb.
src/meson.build
patch
|
blob
|
history
diff --git
a/src/meson.build
b/src/meson.build
index 49a9be7d3a5c42871b36f2ddd817c60348494a52..8d1a270c39ed78b4a2dd0ae5317b9f11e1bb20f8 100644
(file)
--- 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