diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-04-15 21:53:06 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-04-15 15:04:48 +0000 |
commit | a45e7458e3d791ec7a195144b20d471cafe3b6b2 (patch) | |
tree | 388d791dd01a5b047c4dce10ec318982759bdf70 | |
parent | 0714002e28366a063d3e484212f8614a3d3922f2 (diff) |
configure.ac: drop rudimentary check for -fvisibility=hidden
This looks like a rudiment from OpenBSC, where we have:
#define BSC_API __attribute__((visibility("default")))
However, we don't use this attribute in OsmoMSC.
Change-Id: Ie2f18e9b47eca478f6e4702606068814546e34ce
-rw-r--r-- | configure.ac | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index f8787cfeb..e500375da 100644 --- a/configure.ac +++ b/configure.ac @@ -119,18 +119,6 @@ AC_SUBST(found_sqlite3) dnl Checks for typedefs, structures and compiler characteristics - -# The following test is taken from WebKit's webkit.m4 -saved_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -fvisibility=hidden " -AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden]) -AC_COMPILE_IFELSE([AC_LANG_SOURCE([char foo;])], - [ AC_MSG_RESULT([yes]) - SYMBOL_VISIBILITY="-fvisibility=hidden"], - AC_MSG_RESULT([no])) -CFLAGS="$saved_CFLAGS" -AC_SUBST(SYMBOL_VISIBILITY) - AX_CHECK_COMPILE_FLAG([-Werror=implicit], [CFLAGS="$CFLAGS -Werror=implicit"]) AX_CHECK_COMPILE_FLAG([-Werror=maybe-uninitialized], [CFLAGS="$CFLAGS -Werror=maybe-uninitialized"]) AX_CHECK_COMPILE_FLAG([-Werror=memset-transposed-args], [CFLAGS="$CFLAGS -Werror=memset-transposed-args"]) |