Gentoo Archives: gentoo-commits

From: "Alexander Gabert (pappy)" <pappy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/hardened-glibc: hardened-glibc-2.6.1-r1.ebuild
Date: Sun, 27 Apr 2008 23:31:17
Message-Id: E1JqGKw-0007sz-Ir@stork.gentoo.org
1 pappy 08/04/27 23:31:14
2
3 Modified: hardened-glibc-2.6.1-r1.ebuild
4 Log:
5 fixed undefined reference to __sync_bool_compare_and_swap_4 by adding -march to CFLAGS
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.2 sys-libs/hardened-glibc/hardened-glibc-2.6.1-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/hardened-glibc/hardened-glibc-2.6.1-r1.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/hardened-glibc/hardened-glibc-2.6.1-r1.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/hardened-glibc/hardened-glibc-2.6.1-r1.ebuild?r1=1.1&r2=1.2
14
15 Index: hardened-glibc-2.6.1-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-libs/hardened-glibc/hardened-glibc-2.6.1-r1.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- hardened-glibc-2.6.1-r1.ebuild 27 Apr 2008 23:17:42 -0000 1.1
22 +++ hardened-glibc-2.6.1-r1.ebuild 27 Apr 2008 23:31:14 -0000 1.2
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/hardened-glibc/hardened-glibc-2.6.1-r1.ebuild,v 1.1 2008/04/27 23:17:42 pappy Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/hardened-glibc/hardened-glibc-2.6.1-r1.ebuild,v 1.2 2008/04/27 23:31:14 pappy Exp $
28
29 inherit eutils
30
31 @@ -46,7 +46,10 @@
32 pkg_setup() {
33 # hardcoding the CHOST in this ebuild (for x86 stages)
34 export CHOST="i486-pc-linux-gnu"
35 - export CFLAGS="-O2 -pipe"
36 +
37 + # CFLAGS+="-march=i686" for undefined reference to
38 + # `__sync_bool_compare_and_swap_4'
39 + export CFLAGS="-O2 -pipe -march=i686"
40 export CXXFLAGS="${CFLAGS}"
41
42 export CPPFLAGS=""
43
44
45
46 --
47 gentoo-commits@l.g.o mailing list