summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2016-02-19 14:51:04 (GMT)
committerSlava Barinov <v.barinov@samsung.com>2016-02-19 14:51:04 (GMT)
commit3486c6598df58eed03517900e2960f07c8560339 (patch)
tree938c6077eaf61b0d82be507e8bcd5b0106924608
parentcbe8b82a6854d8ff4a306ae3240a6606a3d1090a (diff)
downloadc-ares-sandbox/vbarinov/visibility.zip
c-ares-sandbox/vbarinov/visibility.tar.gz
c-ares-sandbox/vbarinov/visibility.tar.bz2
Adding default visibility linesandbox/vbarinov/visibility
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--packaging/c-ares.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/c-ares.spec b/packaging/c-ares.spec
index f48f88b..94bcd47 100644
--- a/packaging/c-ares.spec
+++ b/packaging/c-ares.spec
@@ -41,6 +41,7 @@ by Greg Hudson at MIT.
cp %{SOURCE1001} .
%build
+export CFLAGS+=" -fvisibility=hidden "
autoreconf -fiv
%configure --enable-symbol-hiding --enable-nonblocking --enable-shared --disable-static --with-pic
sed -i -e 's@-g0@-g@g' Makefile