configure: Fix --enable-tcg-interpreter
PATCH 1/1 configure: Fix --enable-tcg-interpreter
The configure option was backward, and we failed to pass the value on to meson.
Fixes 23a77b2d18b
Signed-off-by Richard Henderson <[email protected]>
--- configure | 5 +++-- tcg/tci/tcg-target.c.inc | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)
configure +3 -2
@@ -1119,9 +1119,9 @@ for opt do ;; --enable-whpx) whpx="enabled" ;; - --disable-tcg-interpreter) tcg_interpreter="true" + --disable-tcg-interpreter) tcg_interpreter="false" ;; - --enable-tcg-interpreter) tcg_interpreter="false" + --enable-tcg-interpreter) tcg_interpreter="true" ;; --disable-cap-ng) cap_ng="disabled" ;;
@@ -6374,6 +6374,7 @@ NINJA=$ninja $meson setup \ -Dvhost_user_blk_server=$vhost_user_blk_server \ -Dfuse=$fuse -Dfuse_lseek=$fuse_lseek -Dguest_agent_msi=$guest_agent_msi \ $(if test "$default_features" = no; then echo "-Dauto_features=disabled"; fi) \ + -Dtcg_interpreter=$tcg_interpreter \ $cross_arg \ "$PWD" "$source_path"
tcg/tci/tcg-target.c.inc +1 -1
@@ -780,7 +780,7 @@ static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op) case INDEX_op_add2_i64: case INDEX_op_sub2_i32: case INDEX_op_sub2_i64: - return C_O2_I4(r, r, 0, 1, re, re) + return C_O2_I4(r, r, 0, 1, re, re); case INDEX_op_setcond2_i32: return C_O1_I4(r, r, r, re, re);
Signature · 1 line
2.25.1
Quoted 9 lines · Richard Henderson
The configure option was backward, and we failed to pass the value on to meson.
Fixes 23a77b2d18bSigned-off-by Richard Henderson <[email protected]>--- configure | 5 +++-- tcg/tci/tcg-target.c.inc | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)
Bah. Of course the tcg/tci/ hunk is unrelated,
and snuck in with a git commit -a.
Philippe Mathieu-Daudé
Reviewed-byQuoted 3 lines · Richard Henderson
Quoted 2 lines · Richard Henderson
The configure option was backward, and we failed to pass the value on to meson.
o_O
Quoted 10 lines
Quoted 7 lines
Fixes 23a77b2d18bSigned-off-by Richard Henderson <[email protected]>--- configure | 5 +++-- tcg/tci/tcg-target.c.inc | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)Bah. Of course the tcg/tci/ hunk is unrelated,
and snuck in with a git commit -a.
configure part:
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Philippe Mathieu-Daudé
Reviewed-byQuoted 18 lines · Philippe Mathieu-Daudé
Quoted 3 lines · Richard Henderson
Quoted 2 lines · Richard Henderson
The configure option was backward, and we failed to pass the value on to meson.
o_OQuoted 10 lines
Quoted 7 lines
Fixes 23a77b2d18bSigned-off-by Richard Henderson <[email protected]>--- configure | 5 +++-- tcg/tci/tcg-target.c.inc | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)Bah. Of course the tcg/tci/ hunk is unrelated,
and snuck in with a git commit -a.
configure part:
Reviewed-by Philippe Mathieu-Daudé <[email protected]>