Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 443632
Collapse All | Expand All

(-)a/sys-libs/glibc/files/eblits/src_compile.eblit (-7 lines)
Lines 172-185 toolchain-glibc_headers_compile() { Link Here
172
		--prefix=/usr
172
		--prefix=/usr
173
		${EXTRA_ECONF}"
173
		${EXTRA_ECONF}"
174
174
175
	# Nothing is compiled here which would affect the headers for the target.
176
	# so forcing CC/CFLAGS is sane.  unless you dont have `gcc`.  then i
177
	# dont care :p.
178
	echo "${S}"/configure ${myconf}
175
	echo "${S}"/configure ${myconf}
179
	CC=gcc \
180
	CFLAGS="-O1 -pipe" \
181
	CPPFLAGS="-U_FORTIFY_SOURCE" \
182
	LDFLAGS="" \
183
	"${S}"/configure ${myconf} || die "failed to configure glibc"
176
	"${S}"/configure ${myconf} || die "failed to configure glibc"
184
}
177
}
185
178
(-)a/sys-libs/glibc/glibc-2.16.0.ebuild (-3 / +6 lines)
Lines 37-43 PATCH_VER="7" # Gentoo patchset Link Here
37
PORTS_VER=${RELEASE_VER}                       # version of glibc ports addon
37
PORTS_VER=${RELEASE_VER}                       # version of glibc ports addon
38
NPTL_KERN_VER=${NPTL_KERN_VER:-"2.6.16"}       # min kernel version nptl requires
38
NPTL_KERN_VER=${NPTL_KERN_VER:-"2.6.16"}       # min kernel version nptl requires
39
39
40
IUSE="debug gd hardened multilib selinux systemtap profile vanilla crosscompile_opts_headers-only"
40
IUSE="debug gd hardened multilib selinux profile vanilla crosscompile_opts_headers-only"
41
if [[ ${CTARGET} != arm* ]] ; then
42
  IUSE="${IUSE} systemtap"
43
fi
44
41
[[ -n ${RELEASE_VER} ]] && S=${WORKDIR}/glibc-${RELEASE_VER}${SNAP_VER:+-${SNAP_VER}}
45
[[ -n ${RELEASE_VER} ]] && S=${WORKDIR}/glibc-${RELEASE_VER}${SNAP_VER:+-${SNAP_VER}}
42
46
43
# Here's how the cross-compile logic breaks down ...
47
# Here's how the cross-compile logic breaks down ...
Lines 83-90 RDEPEND="!sys-kernel/ps3-sources Link Here
83
	!sys-libs/nss-db"
87
	!sys-libs/nss-db"
84
88
85
if [[ ${CATEGORY} == cross-* ]] ; then
89
if [[ ${CATEGORY} == cross-* ]] ; then
86
	DEPEND+=" !crosscompile_opts_headers-only? (
90
	DEPEND+=">=${CATEGORY}/binutils-2.20
87
		>=${CATEGORY}/binutils-2.20
88
		>=${CATEGORY}/gcc-4.3
91
		>=${CATEGORY}/gcc-4.3
89
	)"
92
	)"
90
	[[ ${CATEGORY} == *-linux* ]] && DEPEND+=" ${CATEGORY}/linux-headers"
93
	[[ ${CATEGORY} == *-linux* ]] && DEPEND+=" ${CATEGORY}/linux-headers"

Return to bug 443632