Hint

Gerard Beekmans gerard at linuxfromscratch.org
Tue Sep 19 20:02:43 PDT 2000



> For anyone doing a compile of LFS....
> 
> When compiling binutils, the make uses whatever you have in your
> environment, even if you passed different CFLAGS and CXXFLAGS to the
> configure script.  The solution to this is to make sure you override the
> variables during the configure *and* make.  Binutils is known for not
> liking optimisations.  It may even be advisable to change the
> environment during the build of binutils.

That's why the book tells you to pass the -e parameter. That parameter
makes environment vars. take precedence over Makefile file parameters.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-





More information about the lfs-dev mailing list