From: | "Fabian Groffen (grobian)" <grobian@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: portability.eclass |
Date: | Sat, 31 Oct 2009 15:35:02 |
Message-Id: | E1N4Fym-000172-5V@stork.gentoo.org |
1 | grobian 09/10/31 15:35:00 |
2 | |
3 | Modified: portability.eclass |
4 | Log: |
5 | fix CHOST match for arm-boxes, thanks Markus Meier in bug #291289 |
6 | |
7 | Revision Changes Path |
8 | 1.14 eclass/portability.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/portability.eclass?rev=1.14&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/portability.eclass?rev=1.14&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/portability.eclass?r1=1.13&r2=1.14 |
13 | |
14 | Index: portability.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v |
17 | retrieving revision 1.13 |
18 | retrieving revision 1.14 |
19 | diff -u -r1.13 -r1.14 |
20 | --- portability.eclass 27 Mar 2009 08:00:56 -0000 1.13 |
21 | +++ portability.eclass 31 Oct 2009 15:34:59 -0000 1.14 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2005 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v 1.13 2009/03/27 08:00:56 drizzt Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v 1.14 2009/10/31 15:34:59 grobian Exp $ |
27 | # |
28 | # Author: Diego Pettenò <flameeyes@g.o> |
29 | # |
30 | @@ -59,7 +59,7 @@ |
31 | # - Darwin needs nothing |
32 | # - *BSD needs nothing |
33 | # - Linux needs -ldl (glibc and uclibc) |
34 | - if [[ ${CHOST} == *-linux-gnu || ${CHOST} == *-linux-uclibc ]]; then |
35 | + if [[ ${CHOST} == *-linux-gnu* || ${CHOST} == *-linux-uclibc ]]; then |
36 | echo "-ldl" |
37 | fi |
38 | } |