diff options
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index c7d8c104c9bd..3867bd2b9f82 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1030,6 +1030,9 @@ toolchain_src_configure() { esac if [[ -n ${needed_libc} ]] ; then local confgcc_no_libc=( --disable-shared ) + # requires libc: bug #734820 + tc_version_is_at_least 4.6 && confgcc_no_libc+=( --disable-libquadmath ) + # requires libc tc_version_is_at_least 4.8 && confgcc_no_libc+=( --disable-libatomic ) if ! has_version ${CATEGORY}/${needed_libc} ; then confgcc+=( |