diff options
Diffstat (limited to 'contrib/libstdc++/aclocal.m4')
-rw-r--r-- | contrib/libstdc++/aclocal.m4 | 4 |
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 |