AC_RUN_IFELSE won't work when cross-compiling
Change-Id: I8e4d439f0e03ca9e9e3088b451efd8d09bf37203 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134462 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
+1
-1
@@ -7420,7 +7420,7 @@ AC_SUBST([HAVE_LIBSTDCPP])
|
||||
AC_SUBST([HAVE_LIBCPP])
|
||||
|
||||
HAVE_LIBCPP_DEBUG=
|
||||
if test -n "$HAVE_LIBCPP" -a -n "$ENABLE_DBGUTIL"; then
|
||||
if test -z "$CROSS_COMPILING" -a -n "$HAVE_LIBCPP" -a -n "$ENABLE_DBGUTIL"; then
|
||||
# Libc++ supports debug mode only if built for it, Mac libc++ isn't,
|
||||
# and there would be undefined references to debug functions.
|
||||
# Moreover std::to_string() has a bug (https://reviews.llvm.org/D125184).
|
||||
|
||||
Reference in New Issue
Block a user