Last change
on this file since f43142e was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago |
r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book
|
-
Property mode
set to
100644
|
File size:
877 bytes
|
Rev | Line | |
---|
[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-cross-tools-cflags">
|
---|
| 9 | <?dbhtml filename="cflags.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Build CFLAGS</title>
|
---|
| 12 |
|
---|
| 13 | <para><envar>CFLAGS</envar> during the building of cross tools must
|
---|
| 14 | not be set.</para>
|
---|
| 15 |
|
---|
| 16 | <para>To disable <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>
|
---|
| 17 | use the following command:</para>
|
---|
| 18 |
|
---|
| 19 | <screen><userinput>unset CFLAGS
|
---|
| 20 | unset CXXFLAGS</userinput></screen>
|
---|
| 21 |
|
---|
| 22 | <para>Now we will add these to <filename>~/.bashrc</filename>, just in
|
---|
| 23 | case you have to exit and restart building later:</para>
|
---|
| 24 |
|
---|
| 25 | <screen><userinput>echo unset CFLAGS >> ~/.bashrc
|
---|
| 26 | echo unset CXXFLAGS >> ~/.bashrc</userinput></screen>
|
---|
| 27 |
|
---|
| 28 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.