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

Attachment: pgpndilV2Bc0D.pgp
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to