makefile.unix: make visibility=hidden the default

Change-Id: I22739f4db798bb95591839835b5368944396e887
This commit is contained in:
James Zern 2015-12-14 23:45:12 -08:00
parent 846caff47f
commit 1a819f0053

View File

@ -61,6 +61,9 @@ endif
EXTRA_FLAGS += -DWEBP_USE_THREAD
EXTRA_LIBS += -lpthread
# Control symbol visibility. Comment out if your compiler doesn't support it.
EXTRA_FLAGS += -fvisibility=hidden
# Extra flags to emulate C89 strictness with the full ANSI
EXTRA_FLAGS += -Wextra -Wold-style-definition
EXTRA_FLAGS += -Wmissing-prototypes