1
.TH BUILDER-CC 1 "2002-03-02" "Debian Project" "Debian GNU/Linux"
3
builder-cc \- gcc wrapper to enforce hardening toolchain improvements
5
.BI "export DEB_BUILD_HARDENING=1"
13
wrapper is normally used by calling
16
.B DEB_BUILD_HARDENING
17
is set to 1. It will configure the necessary toolchain hardening
18
features. By default, all features are enabled. If a given feature does not
19
work correctly and needs to be disabled, the corresponding environment
20
variables mentioned above can be set to 0.
22
You can still call gcc.real directly.
25
.IP DEB_BUILD_HARDENING=1
26
Enable hardening features.
28
Print the full resulting gcc command line to STDERR before calling gcc.
29
.IP DEB_BUILD_HARDENING_STACKPROTECTOR=0
30
Disable stack overflow protection. See README.Debian for details.
31
.IP DEB_BUILD_HARDENING_RELRO=0
32
Disable read-only linker sections. See README.Debian for details.
33
.IP DEB_BUILD_HARDENING_FORTIFY=0
34
Don't fortify several standard functions. See README.Debian for details.
35
.IP DEB_BUILD_HARDENING_PIE=0
36
Don't build position independent executables. See README.Debian for details.
37
.IP DEB_BUILD_HARDENING_FORMAT=0
38
Disable unsafe format string usage warnings. See README.Debian for details.
52
is dictated by whatever package installed