--- toolchain.eclass.original 2014-07-13 03:07:13.064268018 -0400 +++ toolchain.eclass 2014-07-13 03:42:26.924288750 -0400 @@ -1133,7 +1133,9 @@ if use_if_iuse libssp ; then confgcc+=( --enable-libssp ) else - export gcc_cv_libc_provides_ssp=yes + if hardened_gcc_is_stable ssp; then + export gcc_cv_libc_provides_ssp=yes + fi confgcc+=( --disable-libssp ) fi @@ -2161,7 +2163,7 @@ elif [[ $1 == "ssp" ]] ; then if [[ ${CTARGET} == *-uclibc* ]] ; then tocheck=${SSP_UCLIBC_STABLE} - else + elif [[ ${CTARGET} == *-gnu* ]] ; then tocheck=${SSP_STABLE} fi else