build: Use of cargo not yet supported here in Canadian cross configurations
..., until <https://github.com/Rust-GCC/gccrs/issues/2898>
"'cargo' should build for the host system" is resolved.
Follow-up to commit 3e1e73fc99
"build: Check for cargo when building rust language".
* configure.ac (have_cargo): Force to "no" in Canadian cross
configurations
* configure: Regenerate.
This commit is contained in:
parent
3ebc7898a5
commit
dc17e7544e
2 changed files with 25 additions and 0 deletions
13
configure
vendored
13
configure
vendored
|
@ -9148,6 +9148,19 @@ $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Pre-conditions to consider whether cargo being supported.
|
||||||
|
if test x"$have_cargo" = xyes \
|
||||||
|
&& test x"$build" != x"$host"; then
|
||||||
|
# Until <https://github.com/Rust-GCC/gccrs/issues/2898>
|
||||||
|
# "'cargo' should build for the host system" is resolved:
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: use of cargo not yet supported here in Canadian cross configurations" >&5
|
||||||
|
$as_echo "$as_me: WARNING: use of cargo not yet supported here in Canadian cross configurations" >&2;}
|
||||||
|
have_cargo=no
|
||||||
|
else
|
||||||
|
# Assume that cargo-produced object files are compatible with what
|
||||||
|
# we're going to build here.
|
||||||
|
:
|
||||||
|
fi
|
||||||
# Disable Rust if cargo is unavailable.
|
# Disable Rust if cargo is unavailable.
|
||||||
case ${add_this_lang}:${language}:${have_cargo} in
|
case ${add_this_lang}:${language}:${have_cargo} in
|
||||||
yes:rust:no)
|
yes:rust:no)
|
||||||
|
|
12
configure.ac
12
configure.ac
|
@ -2306,6 +2306,18 @@ directories, to avoid imposing the performance cost of
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Pre-conditions to consider whether cargo being supported.
|
||||||
|
if test x"$have_cargo" = xyes \
|
||||||
|
&& test x"$build" != x"$host"; then
|
||||||
|
# Until <https://github.com/Rust-GCC/gccrs/issues/2898>
|
||||||
|
# "'cargo' should build for the host system" is resolved:
|
||||||
|
AC_MSG_WARN([use of cargo not yet supported here in Canadian cross configurations])
|
||||||
|
have_cargo=no
|
||||||
|
else
|
||||||
|
# Assume that cargo-produced object files are compatible with what
|
||||||
|
# we're going to build here.
|
||||||
|
:
|
||||||
|
fi
|
||||||
# Disable Rust if cargo is unavailable.
|
# Disable Rust if cargo is unavailable.
|
||||||
case ${add_this_lang}:${language}:${have_cargo} in
|
case ${add_this_lang}:${language}:${have_cargo} in
|
||||||
yes:rust:no)
|
yes:rust:no)
|
||||||
|
|
Loading…
Add table
Reference in a new issue