Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: common.eblit
Date: Thu, 17 Nov 2011 21:23:03
Message-Id: 20111117212253.8EE052004C@flycatcher.gentoo.org
1 vapier 11/11/17 21:22:53
2
3 Modified: common.eblit
4 Log:
5 When we filter flags, make sure we update CFLAGS_x86 to avoid endlessly appending it as reported by Anush Elangovan.
6
7 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.24 sys-libs/glibc/files/eblits/common.eblit
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?r1=1.23&r2=1.24
15
16 Index: common.eblit
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- common.eblit 16 Nov 2011 16:07:46 -0000 1.23
23 +++ common.eblit 17 Nov 2011 21:22:53 -0000 1.24
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2011 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.23 2011/11/16 16:07:46 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.24 2011/11/17 21:22:53 vapier Exp $
29
30 # We need to be able to set alternative headers for
31 # compiling for non-native platform
32 @@ -61,6 +61,8 @@
33 local t=${CTARGET_OPT:-${CTARGET}}
34 t=${t%%-*}
35 filter-flags '-march=*'
36 + # ugly, ugly, ugly. ugly.
37 + CFLAGS_x86=$(CFLAGS=${CFLAGS_x86} filter-flags '-march=*'; echo "${CFLAGS}")
38 export CFLAGS_x86="${CFLAGS_x86} -march=${t}"
39 einfo "Auto adding -march=${t} to CFLAGS_x86 #185404"
40 fi