Merge branch 'issue-245-visibility-check' (fixes #245)
This commit is contained in:
commit
3826ac43e9
@ -11,9 +11,11 @@ Release x.x.x XXX XXXXXX XX XXXX
|
||||
#227 Autotools: Add --without-examples and --without-tests
|
||||
#228 Autotools: Modernize configure.ac
|
||||
#243 Windows: Fix syntax of .def module definition files
|
||||
#245 #246 Autotools: Fix check for -fvisibility=hidden for Clang
|
||||
|
||||
Special thanks to:
|
||||
Benjamin Peterson
|
||||
Hanno Böck
|
||||
@KangLin
|
||||
Marco Maggi
|
||||
Sebastian Dröge
|
||||
|
@ -27,7 +27,7 @@ AC_DEFUN([EXPATCFG_COMPILER_SUPPORTS_VISIBILITY],
|
||||
[expatcfg_cv_compiler_supports_visibility],
|
||||
[AS_VAR_SET([expatcfg_cv_compiler_supports_visibility],[no])
|
||||
AS_VAR_COPY([OLDFLAGS],[CFLAGS])
|
||||
AS_VAR_APPEND([CFLAGS],[" -fvisibility=hidden -Wall -Werror"])
|
||||
AS_VAR_APPEND([CFLAGS],[" -fvisibility=hidden -Wall -Werror -Wno-unknown-warning-option"])
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
|
||||
void __attribute__((visibility("default"))) foo(void);
|
||||
void foo(void) {}
|
||||
|
Loading…
Reference in New Issue
Block a user