From 5a1835638cacc5c2b2362d838d0f3ec96bd015fe Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Wed, 25 Jan 2017 15:26:54 +0900 Subject: [PATCH] Apply -fvisibility to decrease binary size 434KB -> 419KB Change-Id: Ib5dd40e0e2f8b714bc68359d0bb329363acc8587 Signed-off-by: Jihoon Kim --- packaging/org.tizen.inputdelegator.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index 2447c13..6c136f2 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -67,8 +67,8 @@ Input Delegator Application for Wearable environment %setup -q %build -export CFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror" -export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror" +export CFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror -fvisibility=hidden" +export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror -fvisibility=hidden -fvisibility-inlines-hidden" export FFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror" export CXXFLAGS="$CXXFLAGS -std=gnu++0x" -- 2.7.4