ref: 0f8aebfd5138590fdbbea92ffdec17f6030ba7fc
parent: 2c3e895c745fe417e501195310de973867f0d43e
author: Alexei Podtelezhnikov <[email protected]>
date: Sat Jul 28 19:21:28 EDT 2018
* builds/unix/configure.raw: Minor.
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -312,9 +312,9 @@
# 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_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)],