[Pkg-xen-devel] [PATCH 07/12] debian/rules: Set CC/LD for cross-building
Ian Jackson
ijackson at chiark.greenend.org.uk
Thu Sep 17 17:07:08 BST 2020
Elliott Mitchell writes ("[PATCH 07/12] debian/rules: Set CC/LD for cross-building"):
> Set $(CC) and $(LD) when building. People building ARM executables on
> ARM hosts aren't that common.
...
> make_args_common := \
> XEN_COMPILE_ARCH=$(xen_arch_$(DEB_BUILD_ARCH)) \
> - XEN_TARGET_ARCH=$(xen_arch_$(flavour))
> + XEN_TARGET_ARCH=$(xen_arch_$(flavour)) \
> + CC=$(DEB_HOST_MULTIARCH)-gcc \
> + LD=$(DEB_HOST_MULTIARCH)-ld
Doesn't this want to be in make-args-xen ?
That is, I think autoconf, configure, et al, ought to do this right
for the tools. It is the hypervisor which needs this other kind of
cross-compilation.
Ian.
--
Ian Jackson <ijackson at chiark.greenend.org.uk> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.
More information about the Pkg-xen-devel
mailing list