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

(-)eclass.orig/toolchain.eclass (-1 / +1 lines)
Lines 1382-1388 Link Here
1382
	# __cxa_atexit is "essential for fully standards-compliant handling of
1382
	# __cxa_atexit is "essential for fully standards-compliant handling of
1383
	# destructors", but apparently requires glibc.
1383
	# destructors", but apparently requires glibc.
1384
	if [[ ${CTARGET} == *-uclibc* ]] ; then
1384
	if [[ ${CTARGET} == *-uclibc* ]] ; then
1385
		confgcc="${confgcc} --disable-__cxa_atexit --enable-target-optspace"
1385
		confgcc="${confgcc} --disable-__cxa_atexit --enable-target-optspace --disable-tls"
1386
		[[ ${GCCMAJOR}.${GCCMINOR} == 3.3 ]] && confgcc="${confgcc} --enable-sjlj-exceptions"
1386
		[[ ${GCCMAJOR}.${GCCMINOR} == 3.3 ]] && confgcc="${confgcc} --enable-sjlj-exceptions"
1387
		if tc_version_is_at_least 3.4 && [[ ${GCCMAJOR}.${GCCMINOR} < 4.3 ]] ; then
1387
		if tc_version_is_at_least 3.4 && [[ ${GCCMAJOR}.${GCCMINOR} < 4.3 ]] ; then
1388
			confgcc="${confgcc} --enable-clocale=uclibc"
1388
			confgcc="${confgcc} --enable-clocale=uclibc"

Return to bug 270767