* builds/unix/configure.raw: Minor.

This commit is contained in:
Alexei Podtelezhnikov 2018-07-28 23:21:28 -04:00
parent 2c3e895c74
commit 0f8aebfd51
1 changed files with 4 additions and 4 deletions

View File

@ -312,9 +312,9 @@ AC_SUBST([XX_ANSIFLAGS])
# explicit __attribute__((visibility("default"))).
#
found_visibility_flag=no
AC_MSG_CHECKING([for -xldscope=hidden compiler flag])
AC_MSG_CHECKING([for -fvisibility=hidden compiler flag])
orig_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} -xldscope=hidden"
CFLAGS="${CFLAGS} -fvisibility=hidden"
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
[found_visibility_flag=yes
AC_MSG_RESULT(yes)],
@ -322,9 +322,9 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
AC_MSG_RESULT(no)])
if test "${found_visibility_flag}" = "no"; then
AC_MSG_CHECKING([for -fvisibility=hidden compiler flag])
AC_MSG_CHECKING([for -xldscope=hidden compiler flag])
orig_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} -fvisibility=hidden"
CFLAGS="${CFLAGS} -xldscope=hidden"
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
[found_visibility_flag=yes
AC_MSG_RESULT(yes)],