Skip to content

Commit

Permalink
Fix visibility attribute for compiling
Browse files Browse the repository at this point in the history
Change-Id: Icee8d2de67d10a2590695aabd3a4981d45e10e4e
Reviewed-on: http://review.couchbase.org/13216
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  • Loading branch information
trondn authored and avsej committed Feb 14, 2012
1 parent 463f12d commit 0d0fc7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m4/couchbase.m4
Expand Up @@ -36,7 +36,7 @@ AC_DEFUN([COUCHBASE_GENERIC_COMPILER], [
GCC_CXX_OPTIMIZE="-O3"
GCC_C_DEBUG="-g"
GCC_CXX_DEBUG="-g"
GCC_VISIBILITY=-fvisibility=hidden
GCC_VISIBILITY="-DHAVE_VISIBILITY=1 -fvisibility=hidden"
GCC_CPPFLAGS="-pipe -D_THREAD_SAFE -D_GNU_SOURCE"
GCC_CFLAGS="-std=gnu99"
GCC_CXXFLAGS=""
Expand Down Expand Up @@ -113,7 +113,7 @@ AC_DEFUN([COUCHBASE_GENERIC_COMPILER], [
CXX_COMPILER_WARNINGS="$SPRO_CXX_COMPILER_WARNINGS"
])
AM_CPPFLAGS="$AM_CPPFLAGS -I\${top_srcdir}/include"
AM_CPPFLAGS="$AM_CPPFLAGS -I\${top_srcdir}/include $VISIBILITY"
AM_LDFLAGS="$AM_LDFLAGS $VISIBILITY"
Expand Down

0 comments on commit 0d0fc7d

Please sign in to comment.