diff options
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 6e3e058..0e335f6 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -188,9 +188,14 @@ else | |||
| 188 | building_debug_code=yes | 188 | building_debug_code=yes |
| 189 | fi | 189 | fi |
| 190 | 190 | ||
| 191 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char") | 191 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden") |
| 192 | AC_SUBST(GLOBAL_CFLAGS) | 192 | AC_SUBST(GLOBAL_CFLAGS) |
| 193 | 193 | ||
| 194 | case "$GLOBAL_CFLAGS" in | ||
| 195 | *-fvisibility=hidden*) | ||
| 196 | AC_DEFINE([HAVE_FVISIBILITY], [1], [Define if compiled with -fvisibility=hidden]) | ||
| 197 | esac | ||
| 198 | |||
| 194 | # check for large file support | 199 | # check for large file support |
| 195 | AC_SYS_LARGEFILE | 200 | AC_SYS_LARGEFILE |
| 196 | LFS_CFLAGS='' | 201 | LFS_CFLAGS='' |
