Matt Burgess wrote: > On Sun, 2012-07-01 at 18:20 +0100, Andrew Benton wrote: >> Fixed by this sed in the gcc source before the first pass of gcc: >> >> sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure > > I don't mind displaying my lack of autofoo knowledge in public, so why > is passing 'gcc_cv_libc_provides_ssp=yes' on gcc pass1's configure > command line not enough here?
It does need to be in the environment of the script. If you put it before ../glibc-*/configure, then it will be (and it might get getting cleared or something?), but if you put it after, then it may or may not be, depending on the script bits that got generated by autoconf. Both before and after work for stuff like CC, CXX, etc., but I'm not sure about values that aren't "supposed" to be provided by the user. (Could also populate a cache file with it, and pass --cache-file=foo to configure.)
signature.asc
Description: OpenPGP digital signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page