summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-13 22:45:45 +0000
committerMike Frysinger <vapier@gentoo.org>2012-01-13 22:45:45 +0000
commitbe0d18474035794624927fc88d45a30a11ef0435 (patch)
tree0d0d21a71ea297e3caf3ea813d23d05a7443b260 /sys-libs
parentadd tests for filter-flags (diff)
downloadgentoo-2-be0d18474035794624927fc88d45a30a11ef0435.tar.gz
gentoo-2-be0d18474035794624927fc88d45a30a11ef0435.tar.bz2
gentoo-2-be0d18474035794624927fc88d45a30a11ef0435.zip
Output more FLAG variables in our ABI summary, and make sure to reset LDFLAGS when building the target headers for cross-compilers #395619 by Thomas Sachau and Nathan Phillip Brink.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/ChangeLog8
-rw-r--r--sys-libs/glibc/files/eblits/src_compile.eblit7
2 files changed, 11 insertions, 4 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog
index 6dc367d17e7f..d27a0dc19d4f 100644
--- a/sys-libs/glibc/ChangeLog
+++ b/sys-libs/glibc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/glibc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.815 2012/01/13 21:18:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.816 2012/01/13 22:45:45 vapier Exp $
+
+ 13 Jan 2012; Mike Frysinger <vapier@gentoo.org>
+ files/eblits/src_compile.eblit:
+ Output more FLAG variables in our ABI summary, and make sure to reset LDFLAGS
+ when building the target headers for cross-compilers #395619 by Thomas Sachau
+ and Nathan Phillip Brink.
*glibc-2.15 (13 Jan 2012)
diff --git a/sys-libs/glibc/files/eblits/src_compile.eblit b/sys-libs/glibc/files/eblits/src_compile.eblit
index 6a77650fcf41..0c637bbb0c98 100644
--- a/sys-libs/glibc/files/eblits/src_compile.eblit
+++ b/sys-libs/glibc/files/eblits/src_compile.eblit
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.21 2011/12/12 17:47:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.22 2012/01/13 22:45:45 vapier Exp $
glibc_do_configure() {
local myconf
@@ -105,7 +105,7 @@ glibc_do_configure() {
toolchain-glibc_src_compile() {
echo
local v
- for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC CFLAGS ; do
+ for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC {AS,C,CPP,CXX,LD}FLAGS ; do
einfo " $(printf '%15s' ${v}:) ${!v}"
done
export CC=$(tc-getCC ${CTARGET})
@@ -170,6 +170,7 @@ toolchain-glibc_headers_compile() {
CC=gcc \
CFLAGS="-O1 -pipe" \
CPPFLAGS="-U_FORTIFY_SOURCE" \
+ LDFLAGS="" \
"${S}"/configure ${myconf} || die "failed to configure glibc"
}