summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libstdc++/aclocal.m4')
-rw-r--r--contrib/libstdc++/aclocal.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/libstdc++/aclocal.m4 b/contrib/libstdc++/aclocal.m4
index ecc43b4..3b6757e 100644
--- a/contrib/libstdc++/aclocal.m4
+++ b/contrib/libstdc++/aclocal.m4
@@ -2144,7 +2144,9 @@ AC_DEFUN(GLIBCPP_CONFIGURE_TESTSUITE, [
AC_SUBST(baseline_dir)
# Determine if checking the ABI is desirable.
- if test x$enable_symvers = xno; then
+ # Only build this as native, since automake does not understand
+ # CXX_FOR_BUILD.
+ if test x"$GLIBCPP_IS_CROSS_COMPILING" = xtrue || test x$enable_symvers = xno; then
enable_abi_check=no
else
case "$host" in
OpenPOWER on IntegriCloud