summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2017-01-24 07:57:33 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2017-01-24 08:00:36 +0900
commitb14c4ec8b193b8778d3b4f9f9c7592846d494ea3 (patch)
tree24733bd22c2fe738a35478eb9c57534244d135e7 /packaging
parent58577c9cf3a67524c58d67b0ad16ded52341886b (diff)
downloadise-engine-default-b14c4ec8b193b8778d3b4f9f9c7592846d494ea3.tar.gz
ise-engine-default-b14c4ec8b193b8778d3b4f9f9c7592846d494ea3.tar.bz2
ise-engine-default-b14c4ec8b193b8778d3b4f9f9c7592846d494ea3.zip
Apply -fvisibility to decrease binary size
The size of ise-engine-default.so is decreased from 22KB to 17KB Change-Id: Iad03a9cd07c920284143b1dbe01febb123c411f8 Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/ise-engine-default.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/ise-engine-default.spec b/packaging/ise-engine-default.spec
index d72780b..5b39ef7 100644
--- a/packaging/ise-engine-default.spec
+++ b/packaging/ise-engine-default.spec
@@ -15,8 +15,8 @@ it is based on Input Service Framework(ISF).
%setup -q
%build
-export CFLAGS+=" -Werror"
-export CXXFLAGS+=" -Werror"
+export CFLAGS+=" -Werror -fvisibility=hidden"
+export CXXFLAGS+=" -Werror -fvisibility=hidden -fvisibility-inlines-hidden"
%autogen
%configure --prefix=%{_prefix} --disable-static
make %{?_smp_mflags}