jeremy at jutley.org
Sun Feb 6 04:08:47 PST 2005
Slasher Ice wrote:
> /mnt/lfs/sources/glibc-build/config.h:3:3: #error "glibc cannot be
> compiled without optimization"
There's the problem right there - notice it says that glibc cannot be
compiled without optimization. You've set CFLAGS to -march=i386, which
wipes out the default setting for CFLAGS inside the glibc source,
therefore wiping out the -O2 default flags for glibc.
Use: CFLAGS="-O2 -march=i386" instead, and you'll be fine.
More information about the lfs-support