summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-10-11 05:45:24 +0200
committerGuillem Jover <guillem@debian.org>2014-10-12 06:08:01 +0200
commite16a76d241f0c69e96bcfdc96b360cc7c82a9f48 (patch)
tree628f7686a795261fb6f3593ef806cadd00286ffd /man
parentb91283794a8ef658968cf555ca3b9a274ace46cd (diff)
downloaddpkg-e16a76d241f0c69e96bcfdc96b360cc7c82a9f48.tar.gz
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 <helmut@subdivi.de>
Diffstat (limited to 'man')
-rw-r--r--man/dpkg-buildpackage.117
1 files changed, 13 insertions, 4 deletions
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