hlfs to clfs builds

Robert Connolly robert at linuxfromscratch.org
Sat Nov 22 01:53:58 PST 2008


When cross compiling Bash from an hlfs host system, add:
CFLAGS_FOR_BUILD="-U_FORTIFY_SOURCE"
to the ./configure environment, or else the build may fail with:
/usr/include/bits/unistd.h:35: undefined reference to `xread'

There may be another/better workaround, but I don't want to get into hardening 
a cross compiled development system today.

I'll add more notes to this tread if needed.

robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20081122/5fd7f9b9/attachment.sig>


More information about the hlfs-dev mailing list