Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass
Date: Thu, 29 Nov 2012 01:17:00
Message-Id: 20121129011642.1D0FA20C65@flycatcher.gentoo.org
1 vapier 12/11/29 01:16:41
2
3 Modified: toolchain.eclass
4 Log:
5 disable X configure flags setting up bad -I/-L flags that will mess with multilib builds that need 3rd party libs (such as libjava and gtk/etc...)
6
7 Revision Changes Path
8 1.560 eclass/toolchain.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.560&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.560&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.559&r2=1.560
13
14 Index: toolchain.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
17 retrieving revision 1.559
18 retrieving revision 1.560
19 diff -u -r1.559 -r1.560
20 --- toolchain.eclass 24 Nov 2012 22:27:06 -0000 1.559
21 +++ toolchain.eclass 29 Nov 2012 01:16:41 -0000 1.560
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2012 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.559 2012/11/24 22:27:06 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.560 2012/11/29 01:16:41 vapier Exp $
27 #
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29
30 @@ -1204,6 +1204,12 @@
31 --with-pkgversion="${BRANDING_GCC_PKGVERSION}"
32 set -- ${confgcc} "$@" ${EXTRA_ECONF}
33
34 + # Do not let the X detection get in our way. We know things can be found
35 + # via system paths, so no need to hardcode things that'll break multilib.
36 + # Older gcc versions will detect ac_x_libraries=/usr/lib64 which ends up
37 + # killing the 32bit builds which want /usr/lib.
38 + export ac_cv_have_x='have_x=yes ac_x_includes= ac_x_libraries='
39 +
40 # Nothing wrong with a good dose of verbosity
41 echo
42 einfo "PREFIX: ${PREFIX}"