diff mbox series

[v1,16/17] .travis.yml: default the --disable-system build to --static

Message ID 20190619194021.8240-17-alex.bennee@linaro.org
State Superseded
Headers show
Series testing/next (Travis fixes, more tests/vm) | expand

Commit Message

Alex Bennée June 19, 2019, 7:40 p.m. UTC
It's fairly common to build qemu-user binaries with --static linking
so the binary can be copied around without libraries. Enable --static
in the default qemu-user build to cover this.

There are other qemu-user builds that use dynamic linking so they
should catch any problems there.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

Comments

Philippe Mathieu-Daudé June 20, 2019, 10:37 a.m. UTC | #1
On 6/19/19 9:40 PM, Alex Bennée wrote:
> It's fairly common to build qemu-user binaries with --static linking

> so the binary can be copied around without libraries. Enable --static

> in the default qemu-user build to cover this.

> 

> There are other qemu-user builds that use dynamic linking so they

> should catch any problems there.

> 


Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  .travis.yml | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/.travis.yml b/.travis.yml

> index aeb9b211cd..9750dc905c 100644

> --- a/.travis.yml

> +++ b/.travis.yml

> @@ -80,7 +80,7 @@ script:

>  matrix:

>    include:

>      - env:

> -        - CONFIG="--disable-system"

> +        - CONFIG="--disable-system --static"

>  

>  

>      # we split the system builds as it takes a while to build them all

>
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index aeb9b211cd..9750dc905c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -80,7 +80,7 @@  script:
 matrix:
   include:
     - env:
-        - CONFIG="--disable-system"
+        - CONFIG="--disable-system --static"
 
 
     # we split the system builds as it takes a while to build them all