summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 18:16:22 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-29 20:01:50 -0700
commit6d50bedbfddb049717b12c693747fab65545e2f9 (patch)
treefbfc5890be1e6e835a98eb3277a7ffa5afd9968b
parented49fb9aa9e4bda317bb3b9bf19e1ba1a2de3187 (diff)
downloadsbc-6d50bedbfddb049717b12c693747fab65545e2f9.tar.gz
build: Switch to -fvisibility=hidden by default
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 6af0f7c..3cae31a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,8 +36,11 @@ noinst_PROGRAMS = src/sbctester
src_sbctester_LDADD = @SNDFILE_LIBS@ -lm
endif
-AM_CFLAGS = @SNDFILE_CFLAGS@ -finline-functions -fgcse-after-reload \
- -funswitch-loops -funroll-loops
+AM_CFLAGS = @SNDFILE_CFLAGS@ -fvisibility=hidden \
+ -finline-functions \
+ -fgcse-after-reload \
+ -funswitch-loops \
+ -funroll-loops
pkgconfigdir = $(libdir)/pkgconfig