[libvirt-jenkins-ci PATCH 4/4] lcitool: Don't specify --target in $CONFIGURE_OPTS

Andrea Bolognani abologna at redhat.com
Tue Feb 25 12:15:49 UTC 2020


If --target is not specified, the value of --host will be used,
so having both is unnecessary; --target is mostly intended for
building toolchains, which we're not doing.

In fact, we're already not using --target in either the Jenkins
and Ansible build scripts, thus proving that we don't need it.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/lcitool | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/guests/lcitool b/guests/lcitool
index 80e725c..209380a 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -897,8 +897,7 @@ class Application:
         if cross_arch:
             sys.stdout.write(textwrap.dedent("""
                 ENV ABI "{cross_abi}"
-                ENV CONFIGURE_OPTS "--host={cross_abi} \\
-                                    --target={cross_abi}"
+                ENV CONFIGURE_OPTS "--host={cross_abi}"
             """).format(**varmap))
 
     def _action_dockerfile(self, args):
-- 
2.24.1




More information about the libvir-list mailing list