fixup! Add size optimization GCC options
authorSeungSeop Park <sns.park@samsung.com>
Mon, 16 Nov 2015 04:03:17 +0000 (13:03 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
In http://165.213.202.130/gerrit/#/c/75146/17, only arm 32 bit architecure
was considered. This patch is to do the same for arm 64 bit.

By this CL, the size of libchromium-ewk.so changes as follows.
- Before: 106M (73M if strip)
- After : 84M  (47M if strip)

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11607

Reviewed by: a1.gomes, msu.koo

Change-Id: I2be86adf2690b8ea8f0b2563a9513542a273d70b
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
tizen_src/packaging/chromium-efl.spec

index 88672ef..c0aeccb 100644 (file)
@@ -275,7 +275,7 @@ export LDFLAGS="$LDFLAGS -L/lib"
 
 # architecture related configuration + neon temporary workaround
 %if %{?_skip_ninja:0}%{!?_skip_ninja:1}
-%ifarch %{arm}
+%ifarch %{arm} aarch64
   export ADDITION_OPTION=" -finline-limit=64 -foptimize-sibling-calls -fno-unwind-tables -fno-exceptions -Os "
 
   export CFLAGS="$CFLAGS $ADDITION_OPTION"