[PATCH] configure: Use a separate cache variable for the cross-compiler flags.
Huw Davies
huw at codeweavers.com
Sat Apr 6 04:41:07 CDT 2019
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
aclocal.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aclocal.m4 b/aclocal.m4
index 0b4ff86eb0..a812648f21 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -156,7 +156,7 @@ dnl
dnl The default action-if-yes is to append the flags to EXTRACROSSCFLAGS.
dnl
AC_DEFUN([WINE_TRY_CROSSCFLAGS],
-[AS_VAR_PUSHDEF([ac_var], ac_cv_cflags_[[$1]])dnl
+[AS_VAR_PUSHDEF([ac_var], ac_cv_crosscflags_[[$1]])dnl
AC_CACHE_CHECK([whether the cross-compiler supports $1], ac_var,
[ac_wine_try_cflags_saved=$CFLAGS
ac_wine_try_cflags_saved_cc=$CC
--
2.18.0
More information about the wine-devel
mailing list