Apply -fvisibility to decrease binary size 60/111960/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 25 Jan 2017 06:26:54 +0000 (15:26 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 25 Jan 2017 06:27:26 +0000 (15:27 +0900)
434KB -> 419KB

Change-Id: Ib5dd40e0e2f8b714bc68359d0bb329363acc8587
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/org.tizen.inputdelegator.spec

index 2447c13..6c136f2 100755 (executable)
@@ -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"