Last change
on this file since cdadf8f was cbfa0a3, checked in by Jim Gifford <clfs@…>, 19 years ago |
r974@server (orig r972): jim | 2005-12-28 21:29:16 -0800
r1216@server: jim | 2005-12-28 21:26:31 -0800
Text Updates from Chris Staub. Thank you
|
-
Property mode
set to
100644
|
File size:
896 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 |
|
---|
[ed3e5d8] | 13 | <para><envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> must not be set during the building of cross tools.</para>
|
---|
[bf8c11f] | 14 |
|
---|
| 15 | <para>To disable <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>
|
---|
[ed3e5d8] | 16 | use the following commands:</para>
|
---|
[bf8c11f] | 17 |
|
---|
| 18 | <screen><userinput>unset CFLAGS
|
---|
| 19 | unset CXXFLAGS</userinput></screen>
|
---|
| 20 |
|
---|
[cbfa0a3] | 21 | <para>Now add these to <filename>~/.bashrc</filename>, just in
|
---|
[bf8c11f] | 22 | case you have to exit and restart building later:</para>
|
---|
| 23 |
|
---|
| 24 | <screen><userinput>echo unset CFLAGS >> ~/.bashrc
|
---|
| 25 | echo unset CXXFLAGS >> ~/.bashrc</userinput></screen>
|
---|
| 26 |
|
---|
| 27 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.