diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-03-21 15:54:15 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-21 15:54:15 +0100 |
commit | 63ff42089863cda53aee240ea0124106e8b4d983 (patch) | |
tree | 4f4ff556d5f37f3414804d0394ac9568c7bcc9ac /apt-private/makefile | |
parent | a1b6a4e7c5f5a859d27e00c2753b7f7b7e9ae14d (diff) |
enable fvisibility=hidden for our private library
While it is a huge undertaking to enable it for our public libraries as
basically everything we exported so far could be seen as public
interface our private library is new and under our full control, so we
can do whatever we like with it. The benefits are not that big in return
of course, but it reduces the size a bit, so thats great nontheless.
Git-Dch: ignore
Diffstat (limited to 'apt-private/makefile')
-rw-r--r-- | apt-private/makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/makefile b/apt-private/makefile index 728890b9b..09736c6d3 100644 --- a/apt-private/makefile +++ b/apt-private/makefile @@ -16,6 +16,7 @@ LIBRARY=apt-private MAJOR=0.0 MINOR=0 SLIBS=$(PTHREADLIB) -lapt-pkg +CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden PRIVATES=list install download output cachefile cacheset update upgrade cmndline moo search show main utils sources SOURCE += $(foreach private, $(PRIVATES), private-$(private).cc) |