commit 73b7aa5a000bb3b512026a72abe0aeb4bb10a95a
Author: Olly Betts <olly@survex.com>
Date: Mon Nov 9 15:39:06 2015 +1300
Try -xldscope=symbolic for Sun C++
This flag is roughly equivalent to -Bsymbolic-functions.
diff --git a/xapian-core/configure.ac b/xapian-core/configure.ac
index 1f9fd412..0404090e 100644
a
|
b
|
else
|
1152 | 1152 | fi |
1153 | 1153 | |
1154 | 1154 | XAPIAN_TEST_LINKER_FLAG([-Bsymbolic-functions], [symbolic_functions], |
1155 | | [XAPIAN_LDFLAGS="$XAPIAN_LDFLAGS $flag"]) |
| 1155 | [XAPIAN_LDFLAGS="$XAPIAN_LDFLAGS $flag"], |
| 1156 | dnl Sun C++ has -xldscope=symbolic. |
| 1157 | [XAPIAN_TEST_LINKER_FLAG([-xldscope=symbolic], [xldscope_symbolics], |
| 1158 | [XAPIAN_LDFLAGS="$XAPIAN_LDFLAGS $flag"]) |
| 1159 | ]) |
1156 | 1160 | |
1157 | 1161 | FP_EXCESS_PRECISION=no |
1158 | 1162 | AC_MSG_CHECKING([whether to use SSE instructions on x86]) |