Lines 174-179
if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
Link Here
|
174 |
tc_version_is_at_least 8.0 && |
174 |
tc_version_is_at_least 8.0 && |
175 |
IUSE+=" systemtap" TC_FEATURES+=(systemtap) |
175 |
IUSE+=" systemtap" TC_FEATURES+=(systemtap) |
176 |
tc_version_is_at_least 9.0 && IUSE+=" d" |
176 |
tc_version_is_at_least 9.0 && IUSE+=" d" |
|
|
177 |
tc_version_is_at_least 9.1 && IUSE+=" lto" |
177 |
fi |
178 |
fi |
178 |
|
179 |
|
179 |
SLOT="${GCC_CONFIG_VER}" |
180 |
SLOT="${GCC_CONFIG_VER}" |
Lines 993-998
toolchain_src_configure() {
Link Here
|
993 |
confgcc+=( --enable-libstdcxx-time ) |
994 |
confgcc+=( --enable-libstdcxx-time ) |
994 |
fi |
995 |
fi |
995 |
|
996 |
|
|
|
997 |
# Build compiler using LTO |
998 |
if tc_version_is_at_least 9.1 && use_if_iuse lto ; then |
999 |
confgcc+=( --with-build-config=bootstrap-lto-lean ) |
1000 |
fi |
1001 |
|
996 |
# Support to disable pch when building libstdcxx |
1002 |
# Support to disable pch when building libstdcxx |
997 |
if tc_version_is_at_least 6.0 && ! use_if_iuse pch ; then |
1003 |
if tc_version_is_at_least 6.0 && ! use_if_iuse pch ; then |
998 |
confgcc+=( --disable-libstdcxx-pch ) |
1004 |
confgcc+=( --disable-libstdcxx-pch ) |