aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r--chapter05/gcc-pass1.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index 0b7f17913..2c8fc4c31 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -135,6 +135,20 @@ cd build</userinput></screen>
</varlistentry>
<varlistentry>
+ <term><parameter>--enable-default-pie</parameter> and
+ <parameter>--enable-default-ssp</parameter></term>
+ <listitem>
+ <para>Those switches allow GCC to compile programs with
+ some hardening security features (more information on those in
+ the <xref linkend="pie-ssp-info"/> in chapter 8). They are not
+ strictly needed at this stage, since the compiler will only produce
+ temporary executables. But it is cleaner to have the temporary
+ packages be as close as possible to the final ones.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--disable-shared</parameter></term>
<listitem>
<para>This switch forces GCC to link its internal libraries