stubdom: make GMP aware that it's being cross-compiled
authorWei Liu <wei.liu2@citrix.com>
Sat, 29 Oct 2016 17:22:38 +0000 (18:22 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 31 Oct 2016 10:33:07 +0000 (10:33 +0000)
commit668e4edf92fcf7cb929eed221059a3eeb02722c3
treea5fe8deed004e917a11cdf86e6a532a855d5d8d7
parent123ef76fdb0932dad5c621734eb8992815f6a757
stubdom: make GMP aware that it's being cross-compiled

Append --build and --host flags to GMP's configure script so that it
knows it is being cross-compiled.

This should fix the issue that GMP doesn't compile with gcc 6, because
configure script won't try to test the host environment anymore.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
stubdom/Makefile