tests/tcg: allow running tests for targets that don't have C compiler

Obviously there is better way to do this.

Signed-off-by: Alibek Omarov <a1ba.omarov@gmail.com>
This commit is contained in:
Alibek Omarov 2021-05-27 23:57:16 +03:00 committed by Denis Drakhnia
parent 657cab1e19
commit 223451dbc0
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -1866,7 +1866,8 @@ fi
: ${cross_cc_sparc="$cross_cc_sparc64"} : ${cross_cc_sparc="$cross_cc_sparc64"}
: ${cross_cc_cflags_sparc="-m32 -mcpu=supersparc"} : ${cross_cc_cflags_sparc="-m32 -mcpu=supersparc"}
: ${cross_cc_cflags_x86_64="-m64"} : ${cross_cc_cflags_x86_64="-m64"}
: ${cross_cc_e2k="e2k-linux-cc"} : ${cross_cc_e2k="e2k-linux-as"} # C compiler isn't public yet
: ${cross_cc_e2k_ignore_checks="yes"}
compute_target_variable() { compute_target_variable() {
if eval test -n "\"\${cross_prefix_$1}\""; then if eval test -n "\"\${cross_prefix_$1}\""; then