Le 12/07/2012 05:18, Bryan Kadzban a écrit :
> 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.
>
It's more a problem with the cygnus tree than with autofoo. In this 
case, toplevel `configure' does not pass arguments which do not begin 
with '-' to  `configure' in subdirs.
One way to have them passed is to put them in config.cache :
-----------------
echo gcc_cv_libc_provides_ssp=yes > gcc/config.cache
-----------------
(not tested by lack of time at the moment)

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

Reply via email to