Common: remove function inlining flag 02/55802/1
authorMaciej Wereski <m.wereski@partner.samsung.com>
Tue, 29 Dec 2015 09:25:03 +0000 (10:25 +0100)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Tue, 29 Dec 2015 09:25:03 +0000 (10:25 +0100)
-finline-functions is used in -O3 and inlines functions more aggresively
then -O2 does. It caused issues for some packages on 64bit platforms,
when inlined function was too big.

Change-Id: Ic26c32d62eaa3d1fdba45089fe71936a9d231553
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Tizen:Common/_config

index 8f2c56b..cacc08d 100644 (file)
@@ -364,7 +364,7 @@ Substitute: glibc-devel-32bit
 
 ########## compilation flags ##########
 
-%define __global_cflags        -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never
+%define __global_cflags        -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -fdiagnostics-color=never
 
 Optflags: i686 %{__global_cflags} -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer