diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2018-08-25 15:47:13 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2018-08-25 15:47:13 +0000 |
commit | d4407c732c88a9580de29fc1551727e6af4af6a3 (patch) | |
tree | 921c39eb6651c7698db48803ad8a7258ab442178 /chapter06/gcc.xml | |
parent | 0053a87a77c4f7e0f2315e9a525ad91cbcc0bdd1 (diff) |
Disable deprecated mpx code in gcc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11457 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r-- | chapter06/gcc.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index c1a074911..46d0d10c8 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -68,6 +68,7 @@ cd build</userinput></screen> --enable-languages=c,c++ \ --disable-multilib \ --disable-bootstrap \ + --disable-libmpx \ --with-system-zlib</userinput></screen> <para>Note that for other languages, there are some prerequisites that @@ -87,6 +88,15 @@ cd build</userinput></screen> </varlistentry> <varlistentry> + <term><parameter>--disable-libmpx</parameter></term> + <listitem> + <para>This switch tells GCC to not build mpx (Memory Protection + Extensions) that can cause problems on some processors. It has + been removed from the next version of gcc.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><parameter>--with-system-zlib</parameter></term> <listitem> <para>This switch tells GCC to link to the system installed copy of |