<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-chroot-flags">
  <?dbhtml filename="flags.html"?>

  <title>Build Flags</title>

  <para>We will need to setup target specific flags for the compiler
  and linkers.</para>

<screen><userinput>export BUILD32="-m32"
export BUILD64="-m64"</userinput></screen>

  <para>You will need to set your host target triplet for 32 bit:</para>

<screen><userinput>export CLFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>

   <para>To prevent errors when you come back to your build, we will export these
   variables to prevent any build issues in the future:</para>

<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
export BUILD32="${BUILD32}"
export BUILD64="${BUILD64}"
export CLFS_TARGET32="${CLFS_TARGET32}"
EOF</userinput></screen>

</sect1>
