From d4304d840a27f74e7b608d5a8f6feef6b362bcba Mon Sep 17 00:00:00 2001 From: Maciej Wereski Date: Tue, 29 Dec 2015 10:25:03 +0100 Subject: [PATCH] Common: remove function inlining flag -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 --- Tizen:Common/_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tizen:Common/_config b/Tizen:Common/_config index 8f2c56b..cacc08d 100644 --- a/Tizen:Common/_config +++ b/Tizen:Common/_config @@ -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 -- 2.7.4