5.2. Build CFLAGS

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc2-Sparc64-Pure64

### Chapter 5. Constructing Cross-Compile Tools

- Prev

  Constructing Cross-Compile Tools

- Next

  Build Variables

- Up.
- Home

# 5.2. Build CFLAGS

`CFLAGS` and `CXXFLAGS` must not be set during the building of cross-tools.

To disable `CFLAGS` and `CXXFLAGS` use the following commands:

    unset CFLAGS
    unset CXXFLAGS

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

    echo unset CFLAGS >> ~/.bashrc
    echo unset CXXFLAGS >> ~/.bashrc

- Prev

  Constructing Cross-Compile Tools

- Next

  Build Variables

- Up.
- Home.