Subversion Repositories svn LFS-FR

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?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-cross-tools-cflags">
  <?dbhtml filename="cflags.html"?>

  <title>Build CFLAGS</title>

  <para><envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> must not be
  set during the building of cross-tools.</para>

  <para>To disable <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>
  use the following commands:</para>

<screen><userinput>unset CFLAGS
unset CXXFLAGS</userinput></screen>

  <para>Now add these to <filename>~/.bashrc</filename>, just in
  case you have to exit and restart building later:</para>

<screen><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
unset CFLAGS
unset CXXFLAGS
EOF</userinput></screen>

</sect1>