/[gentoo-x86]/sys-libs/glibc/files/eblits/src_compile.eblit
Gentoo

Diff of /sys-libs/glibc/files/eblits/src_compile.eblit

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.21 2011/12/12 17:47:28 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.22 2012/01/13 22:45:45 vapier Exp $
4 4
5glibc_do_configure() { 5glibc_do_configure() {
6 local myconf 6 local myconf
7 7
8 einfo "Configuring GLIBC for $1" 8 einfo "Configuring GLIBC for $1"
103} 103}
104 104
105toolchain-glibc_src_compile() { 105toolchain-glibc_src_compile() {
106 echo 106 echo
107 local v 107 local v
108 for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC CFLAGS ; do 108 for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC {AS,C,CPP,CXX,LD}FLAGS ; do
109 einfo " $(printf '%15s' ${v}:) ${!v}" 109 einfo " $(printf '%15s' ${v}:) ${!v}"
110 done 110 done
111 export CC=$(tc-getCC ${CTARGET}) 111 export CC=$(tc-getCC ${CTARGET})
112 einfo " $(printf '%15s' 'Manual CC:') ${CC}" 112 einfo " $(printf '%15s' 'Manual CC:') ${CC}"
113 echo 113 echo
168 # dont care :p. 168 # dont care :p.
169 echo "${S}"/configure ${myconf} 169 echo "${S}"/configure ${myconf}
170 CC=gcc \ 170 CC=gcc \
171 CFLAGS="-O1 -pipe" \ 171 CFLAGS="-O1 -pipe" \
172 CPPFLAGS="-U_FORTIFY_SOURCE" \ 172 CPPFLAGS="-U_FORTIFY_SOURCE" \
173 LDFLAGS="" \
173 "${S}"/configure ${myconf} || die "failed to configure glibc" 174 "${S}"/configure ${myconf} || die "failed to configure glibc"
174} 175}
175 176
176eblit-glibc-src_compile() { 177eblit-glibc-src_compile() {
177 if is_crosscompile ; then 178 if is_crosscompile ; then

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20