From e16a76d241f0c69e96bcfdc96b360cc7c82a9f48 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 11 Oct 2014 05:45:24 +0200 Subject: dpkg-buildpackage: Add support for host and target long flags These are passed through to dpkg-architecture if specified. This restores the ability to specify the target architecture when building cross-compilers. Regression introduced in commit f29ed62d0c340869752c61d55a2df74159c31625. Reported-by: Helmut Grohne --- man/dpkg-buildpackage.1 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/dpkg-buildpackage.1 b/man/dpkg-buildpackage.1 index 7a9394375..bd18c645e 100644 --- a/man/dpkg-buildpackage.1 +++ b/man/dpkg-buildpackage.1 @@ -139,15 +139,24 @@ run with root rights. .BI \-e maintainer-address Passed unchanged to \fBdpkg\-genchanges\fP. See its manual page. .TP -.BI \-a architecture +.BR \-a ", " \-\-host\-arch " \fIarchitecture\fP" Specify the Debian architecture we build for. The architecture of the machine we build on is determined automatically, and is also the default for the host machine. .TP -.BI \-t gnu-system-type +.BR \-t ", " \-\-host\-type " \fIgnu-system-type\fP" Specify the GNU system type we build for. It can be used in place -of \-a or as a complement to override the default GNU system type -of the target Debian architecture. +of \-\-host\-arch or as a complement to override the default GNU system type +of the host Debian architecture. +.TP +.BR \-\-target\-arch " \fIarchitecture\fP" +Specify the Debian architecture the binaries built will build for. +The default value is the host machine. +.TP +.BR \-\-target\-type " \fIgnu-system-type\fP" +Specify the GNU system type the binaries built will build for. It can be +used in place of \-\-target\-arch or as a complement to override the +default GNU system type of the target Debian architecture. .TP .BR \-P \fIprofile\fP[ , ...] Specify the profile(s) we build, as a comma-separated list. The default -- cgit v1.2.3