Last change
on this file since 4fc026e was cc8d737, checked in by Joe Ciccone <jciccone@…>, 16 years ago |
Use cat instead of echo wherever possible.
|
-
Property mode
set to
100644
|
File size:
890 bytes
|
Rev | Line | |
---|
[02095ae] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c439b8a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[02095ae] | 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> and <envar>CXXFLAGS</envar> must not be
|
---|
| 14 | set during the building of cross-tools.</para>
|
---|
| 15 |
|
---|
| 16 | <para>To disable <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>
|
---|
| 17 | use the following commands:</para>
|
---|
| 18 |
|
---|
| 19 | <screen><userinput>unset CFLAGS
|
---|
| 20 | unset CXXFLAGS</userinput></screen>
|
---|
| 21 |
|
---|
| 22 | <para>Now add these to <filename>~/.bashrc</filename>, just in
|
---|
| 23 | case you have to exit and restart building later:</para>
|
---|
| 24 |
|
---|
[cc8d737] | 25 | <screen><userinput>cat >> ~/.bashrc << EOF
|
---|
| 26 | unset CFLAGS
|
---|
| 27 | unset CXXFLAGS
|
---|
| 28 | EOF</userinput></screen>
|
---|
[02095ae] | 29 |
|
---|
| 30 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.