diff options
author | Guillem Jover <guillem@debian.org> | 2014-09-26 18:50:38 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-10-06 00:40:43 +0200 |
commit | 60652d3854e28e64e68dbd589036bfc67b0ce058 (patch) | |
tree | 97d1183b07dc2c891f936a8379abb6cdc74c2be6 /man | |
parent | 155d680222e349a2143f0d13e7addae23cf91a67 (diff) | |
download | dpkg-60652d3854e28e64e68dbd589036bfc67b0ce058.tar.gz |
dpkg-buildflags: Honor feature area settings from DEB_BUILD_OPTIONS
This allows users to specify build flags from specific area features.
These settings will be overridden by any subsequent settings from
DEB_BUILD_MAINT_OPTIONS, in the same way other build flags are affected,
so that the maintainer can disable specific things that might be broken.
Diffstat (limited to 'man')
-rw-r--r-- | man/dpkg-buildflags.1 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/man/dpkg-buildflags.1 b/man/dpkg-buildflags.1 index 3d9a0844c..1e8c1258d 100644 --- a/man/dpkg-buildflags.1 +++ b/man/dpkg-buildflags.1 @@ -198,8 +198,8 @@ to support other languages). . .SH FEATURE AREAS .P -Each area feature can be enabled and disabled in the -\fBDEB_BUILD_MAINT_OPTIONS\fP environment variable's area value with the +Each area feature can be enabled and disabled in the \fBDEB_BUILD_OPTIONS\fP +and \fBDEB_BUILD_MAINT_OPTIONS\fP environment variable's area value with the "+" and "\-" modifier. For example, to enable the \fBhardening\fP "pie" feature and disable the "fortify" feature you can do this in \fBdebian/rules\fP: @@ -372,10 +372,14 @@ returned for the given \fIflag\fP. This variable can be used to prepend supplementary options to the value returned for the given \fIflag\fP. .TP +.B DEB_BUILD_OPTIONS +.TQ .B DEB_BUILD_MAINT_OPTIONS -This variable can be used to disable/enable various hardening build -flags through the \fBhardening\fP option. See the \fBFEATURE AREAS\fP section -for details. +These variables can be used by a user or maintainer to disable/enable +various area features that affect build flags. +The \fBDEB_BUILD_MAINT_OPTIONS\fP variable overrides any setting in the +\fBDEB_BUILD_OPTIONS\fP feature areas. +See the \fBFEATURE AREAS\fP section for details. . .SH FILES .SS Configuration files |