There are 2 sets of environment variables doing the same
operations, the first one (DEB_flag_op) should never be used
within debian/rules
. It's meant for any user that wants to
rebuild the source package with different build flags. The second
set (DEB_flag_MAINT_op) should only be used in debian/rules
by
package maintainers to change the resulting build flags.
DEB_
flag_SET
DEB_
flag_MAINT_SET
This variable can be used to force the value returned for
the given flag.
DEB_
flag_STRIP
DEB_
flag_MAINT_STRIP
This variable can be used to provide a space separated
list of options that will be stripped from the set of
flags returned for the given flag.
DEB_
flag_APPEND
DEB_
flag_MAINT_APPEND
This variable can be used to append supplementary options
to the value returned for the given flag.
DEB_
flag_PREPEND
DEB_
flag_MAINT_PREPEND
This variable can be used to prepend supplementary options
to the value returned for the given flag.
DEB_BUILD_OPTIONS
DEB_BUILD_MAINT_OPTIONS
These variables can be used by a user or maintainer to
disable/enable various area features that affect build
flags. The DEB_BUILD_MAINT_OPTIONS
variable overrides any
setting in the DEB_BUILD_OPTIONS
feature areas. See the
FEATURE AREAS
section for details.
DEB_VENDOR
This setting defines the current vendor. If not set, it
will discover the current vendor by reading
/usr/local/etc/dpkg/origins/default
.
DEB_BUILD_PATH
This variable sets the build path (since dpkg 1.18.8) to
use in features such as fixdebugpath
so that they can be
controlled by the caller. This variable is currently
Debian and derivatives-specific.
DPKG_COLORS
Sets the color mode (since dpkg 1.18.5). The currently
accepted values are: auto
(default), always
and never
.
DPKG_NLS
If set, it will be used to decide whether to activate
Native Language Support, also known as
internationalization (or i18n) support (since dpkg
1.19.0). The accepted values are: 0
and 1
(default).