toolchain.eclass: enable pie and ssp for gcc >= 6 for #615370
authorWilliam Hubbs <williamh@gentoo.org>
Sat, 6 May 2017 15:31:31 +0000 (10:31 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Sat, 6 May 2017 17:53:51 +0000 (12:53 -0500)
eclass/toolchain.eclass

index 77e807af3ad04115bb6ca695cddde7383f727933..890df65612e94de22a8e9e8e2f617f4c450bc3e2 100644 (file)
@@ -153,7 +153,7 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
        tc_version_is_at_least 4.8 && IUSE+=" graphite" IUSE_DEF+=( sanitize )
        tc_version_is_at_least 4.9 && IUSE+=" cilk +vtv"
        tc_version_is_at_least 5.0 && IUSE+=" jit mpx"
-       tc_version_is_at_least 6.0 && IUSE+=" pie ssp +pch"
+       tc_version_is_at_least 6.0 && IUSE+=" +pie +ssp +pch"
 fi
 
 IUSE+=" ${IUSE_DEF[*]/#/+}"