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

(-)newlib-1.16.0.ebuild (-2 / +4 lines)
Lines 37-42 Link Here
37
src_unpack() {
37
src_unpack() {
38
	unpack ${A}
38
	unpack ${A}
39
	mkdir -p "${NEWLIBBUILD}"
39
	mkdir -p "${NEWLIBBUILD}"
40
	cd ${S}
41
	epatch "${FILESDIR}/delete-thumb-def.patch"
40
}
42
}
41
43
42
src_compile() {
44
src_compile() {
Lines 50-57 Link Here
50
		&& myconf="--disable-newlib-hw-fp" \
52
		&& myconf="--disable-newlib-hw-fp" \
51
		|| myconf="--enable-newlib-hw-fp"
53
		|| myconf="--enable-newlib-hw-fp"
52
	[[ ${CTARGET} == "spu" ]] \
54
	[[ ${CTARGET} == "spu" ]] \
53
		&& myconf="${myconf} --disable-threads" \
55
		&& myconf="${myconf} --disable-newlib-multithread" \
54
		|| myconf="${myconf} $(use_enable threads)"
56
		|| myconf="${myconf} $(use_enable threads newlib-multithread)"
55
57
56
	cd "${NEWLIBBUILD}"
58
	cd "${NEWLIBBUILD}"
57
59

Return to bug 296726