diff options
| author | 2014-10-03 16:00:26 +0200 | |
|---|---|---|
| committer | 2014-10-03 16:00:26 +0200 | |
| commit | 250d32a3df8f4dc06abbadd05a12d0bb9c1715bf (patch) | |
| tree | 00dd45d1674fa78cf0fabbfd0c7cf32652fe260f /configure.ac | |
| parent | 743cfa3e21313132517b3f8d730530eb34ed8723 (diff) | |
| download | libirecovery-250d32a3df8f4dc06abbadd05a12d0bb9c1715bf.tar.gz libirecovery-250d32a3df8f4dc06abbadd05a12d0bb9c1715bf.tar.bz2 | |
Avoid exporting non-public symbols
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f4bbad3..07ebf77 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -87,9 +87,14 @@ case ${host_os} in | |||
| 87 | esac | 87 | esac |
| 88 | AM_CONDITIONAL(WIN32, test x$win32 = xtrue) | 88 | AM_CONDITIONAL(WIN32, test x$win32 = xtrue) |
| 89 | 89 | ||
| 90 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") | 90 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden") |
| 91 | AC_SUBST(GLOBAL_CFLAGS) | 91 | AC_SUBST(GLOBAL_CFLAGS) |
| 92 | 92 | ||
| 93 | case "$GLOBAL_CFLAGS" in | ||
| 94 | *-fvisibility=hidden*) | ||
| 95 | AC_DEFINE([HAVE_FVISIBILITY], [1], [Define if compiled with -fvisibility=hidden]) | ||
| 96 | esac | ||
| 97 | |||
| 93 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) | 98 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |
| 94 | 99 | ||
| 95 | AC_OUTPUT([ | 100 | AC_OUTPUT([ |
