From eab4a561974eb54796a0a51f11f7167f8d2a7e0c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 11 Jan 2006 00:56:49 +0000 Subject: r12836: use: -fvisibility=hidden -D_PUBLIC_="__attribute__((visibility(\"default\")))" if the compiler supports it, this will cause that modules can only access public functions (gcc 4 supports this) metze (This used to be commit bcf4c362556b8168fc0b63af5708e4a78c7b93fb) --- source4/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/configure.in') diff --git a/source4/configure.in b/source4/configure.in index bd64cdf184..7fb6ccf38a 100644 --- a/source4/configure.in +++ b/source4/configure.in @@ -53,8 +53,8 @@ if test "${ac_cv_prog_CC}" = "insure"; then fi ################################################# -# add DEVELOPER_CFLAGS only for the real build -CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}" +# add *_CFLAGS only for the real build +CFLAGS="${CFLAGS} ${VISIBILITY_CFLAGS} ${DEVELOPER_CFLAGS}" ################################################# # final configure stuff -- cgit