1 |
Dnia 2015-04-13, o godz. 04:15:59 |
2 |
"Mike Frysinger (vapier)" <vapier@g.o> napisał(a): |
3 |
|
4 |
> vapier 15/04/13 04:15:59 |
5 |
> |
6 |
> Modified: toolchain.eclass |
7 |
> Log: |
8 |
> force the configure shell to bash to work around older configure detection |
9 |
|
10 |
May I remind you *yet again* that there's a ChangeLog in that directory |
11 |
that needs updating. |
12 |
|
13 |
> |
14 |
> Revision Changes Path |
15 |
> 1.661 eclass/toolchain.eclass |
16 |
> |
17 |
> file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.661&view=markup |
18 |
> plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.661&content-type=text/plain |
19 |
> diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.660&r2=1.661 |
20 |
> |
21 |
> Index: toolchain.eclass |
22 |
> =================================================================== |
23 |
> RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v |
24 |
> retrieving revision 1.660 |
25 |
> retrieving revision 1.661 |
26 |
> diff -u -r1.660 -r1.661 |
27 |
> --- toolchain.eclass 29 Mar 2015 19:17:05 -0000 1.660 |
28 |
> +++ toolchain.eclass 13 Apr 2015 04:15:59 -0000 1.661 |
29 |
> @@ -1,6 +1,6 @@ |
30 |
> # Copyright 1999-2015 Gentoo Foundation |
31 |
> # Distributed under the terms of the GNU General Public License v2 |
32 |
> -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.660 2015/03/29 19:17:05 vapier Exp $ |
33 |
> +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.661 2015/04/13 04:15:59 vapier Exp $ |
34 |
> |
35 |
> # Maintainer: Toolchain Ninjas <toolchain@g.o> |
36 |
> |
37 |
> @@ -1232,7 +1232,10 @@ |
38 |
> # and now to do the actual configuration |
39 |
> addwrite /dev/zero |
40 |
> echo "${S}"/configure "${confgcc[@]}" |
41 |
> - "${S}"/configure "${confgcc[@]}" || die "failed to run configure" |
42 |
> + # Older gcc versions did not detect bash and re-exec itself, so force the |
43 |
> + # use of bash. Newer ones will auto-detect, but this is not harmeful. |
44 |
> + CONFIG_SHELL="/bin/bash" \ |
45 |
> + bash "${S}"/configure "${confgcc[@]}" || die "failed to run configure" |
46 |
> |
47 |
> # return to whatever directory we were in before |
48 |
> popd > /dev/null |
49 |
> |
50 |
> |
51 |
> |
52 |
> |
53 |
|
54 |
|
55 |
|
56 |
-- |
57 |
Best regards, |
58 |
Michał Górny |