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:
8efef77
)
meson: added compiler flags to optimize binary size
93/241993/1
author
Subhransu Mohanty
<sub.mohanty@samsung.com>
Fri, 21 Aug 2020 07:53:56 +0000
(16:53 +0900)
committer
Subhransu Mohanty
<sub.mohanty@samsung.com>
Fri, 21 Aug 2020 07:54:28 +0000
(16:54 +0900)
this reduced library size from 153KB to 119KB.
Change-Id: Ie70e5412b42d864fbaa827eec21b3cbc1e8f26af
src/meson.build
patch
|
blob
|
history
diff --git
a/src/meson.build
b/src/meson.build
index
40d85ce
..
1fb8989
100644
(file)
--- a/
src/meson.build
+++ b/
src/meson.build
@@
-6,6
+6,9
@@
if (cc.get_id() != 'msvc')
compiler_flags += ['-mavx']
message('Enable Advanced Vector Extension')
endif
+ compiler_flags += ['-fno-exceptions', '-fno-rtti',
+ '-fno-unwind-tables' , '-fno-asynchronous-unwind-tables',
+ '-Woverloaded-virtual', '-Wno-unused-parameter']
endif