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
commit33de8c51bc5b099b66b8f5df9ed33186f76defd9 (patch)
treec018a511dee79ee741caeb6988dc30aeb407ea24 /sys-libs/glibc/files/eblits/src_compile.eblit
parentadd tests for filter-flags (diff)
downloadhistorical-33de8c51bc5b099b66b8f5df9ed33186f76defd9.tar.gz
historical-33de8c51bc5b099b66b8f5df9ed33186f76defd9.tar.bz2
historical-33de8c51bc5b099b66b8f5df9ed33186f76defd9.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.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/glibc/files/eblits/src_compile.eblit')
-rw-r--r--sys-libs/glibc/files/eblits/src_compile.eblit7
1 files changed, 4 insertions, 3 deletions
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"
}