[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Add new variables, DEB_HOST_MULTIARCH and DEB_BUILD_MULTIARCH



Hi!

On Tue, 2011-03-08 at 15:11:10 -0800, Steve Langasek wrote:
> Add new variables that return the "ideal" GNU triplet for each architecture
> which should be used as the path component for library installation.

> diff --git a/multiarchtable b/multiarchtable
> new file mode 100644
> index 0000000..031879b
> --- /dev/null
> +++ b/multiarchtable
> @@ -0,0 +1,4 @@
> +# Bidirectional mapping between a GNU triplet and a Multiarch triplet.
> +#
> +# <GNU triplet>	<Multiarch triplet>
> +i486-linux-gnu	i386-linux-gnu

This has the slight problem of needing to be diverged for Ubuntu and
other derivatives where the baseline triplet is different from Debian.

So I guess this would need either the corresponding fixup in
debian/rules, or maybe better to use a regex for the GNU triplet,
although then the bi-direction mapping becomes a bit more cumbersome,
but I don't think we need it right now anyway?

thanks,
guillem


Reply to: