|
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" |