diff options
Diffstat (limited to 'Build/source/libs/luajit/native/configure.ac')
-rw-r--r-- | Build/source/libs/luajit/native/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/libs/luajit/native/configure.ac b/Build/source/libs/luajit/native/configure.ac index ebb6d324dca..4d7940412e3 100644 --- a/Build/source/libs/luajit/native/configure.ac +++ b/Build/source/libs/luajit/native/configure.ac @@ -21,7 +21,8 @@ AC_PROG_LN_S AC_CHECK_SIZEOF([void *]) AS_IF([test "x$ac_cv_sizeof_void_p" != "x$HOST_PTR_SIZE"], [dnl HOST_PTR_BITS=`expr 8 \* $HOST_PTR_SIZE` -AC_MSG_WARN([pointer size mismatch in cross-build; use a ${HOST_PTR_BITS}bit compiler BULDCC.]) +AC_MSG_WARN([pointer size mismatch in cross-build; use a ${HOST_PTR_BITS}bit compiler LUAJITCROSSCOMPILER.]) +AS_IF([test "x$LUAJITCROSSCOMPILER" != x""],[CC=$LUAJITCROSSCOMPILER], []) AS_CASE([$HOST_PTR_BITS], [32|64], [CC="$CC -m$HOST_PTR_BITS"; AC_MSG_WARN([trying: $CC])])]) |