summaryrefslogtreecommitdiff
path: root/man/dpkg-buildflags.man
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2017-09-18 03:02:58 +0200
committerGuillem Jover <guillem@debian.org>2017-10-13 00:38:11 +0200
commitd917dd74cfb8c78f7a99a7e02d4098866f3f763d (patch)
tree5640cceaaf01a0e59939340123e624d3e7130d5b /man/dpkg-buildflags.man
parente59a804d37e129042be326702d6af62fda493f49 (diff)
downloaddpkg-d917dd74cfb8c78f7a99a7e02d4098866f3f763d.tar.gz
dpkg-buildflags: Add support for new future feature area
This new area includes an lfs feature, to be used instead of the getconf(1) interfaces which cannot support cross-building.
Diffstat (limited to 'man/dpkg-buildflags.man')
-rw-r--r--man/dpkg-buildflags.man12
1 files changed, 11 insertions, 1 deletions
diff --git a/man/dpkg-buildflags.man b/man/dpkg-buildflags.man
index 6bfd059f0..541132e0b 100644
--- a/man/dpkg-buildflags.man
+++ b/man/dpkg-buildflags.man
@@ -167,7 +167,7 @@ For example:
.BI \-\-query\-features " area"
Print the features enabled for a given area (since dpkg 1.16.2).
The only currently recognized
-areas on Debian and derivatives are \fBqa\fP, \fBreproducible\fP,
+areas on Debian and derivatives are \fBfuture\fP, \fBqa\fP, \fBreproducible\fP,
\fBsanitize\fP and \fBhardening\fP, see the \fBFEATURE AREAS\fP
section for more details.
Exits with 0 if the area is known otherwise exits with 1.
@@ -246,6 +246,16 @@ Thus disabling everything in the \fBhardening\fP area and enabling only
.P
export DEB_BUILD_MAINT_OPTIONS=hardening=\-all,+format,+fortify
.
+.SS future
+Several compile-time options (detailed below) can be used to enable features
+that should be enabled by default, but cannot due to backwards compatibility
+reasons.
+.TP
+.B lfs
+This setting (disabled by default) enables Large File Support on 32-bit
+architectures where their ABI does not include LFS by default, by adding
+\fB-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\fP to \fBCPPFLAGS\fP
+.
.SS qa
Several compile-time options (detailed below) can be used to help detect
problems in the source code or build system.