Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 685634 | Differences between
and this patch

Collapse All | Expand All

(-)a/eclass/toolchain.eclass (+6 lines)
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 )
(-)a/sys-devel/gcc/metadata.xml (-1 / +1 lines)
Lines 21-26 Link Here
21
      This will slow down the compiler a bit as it forces all of the toolchain to be shared libs.</flag>
21
      This will slow down the compiler a bit as it forces all of the toolchain to be shared libs.</flag>
22
    <flag name="libssp">Build SSP support into a dedicated library rather than use the
22
    <flag name="libssp">Build SSP support into a dedicated library rather than use the
23
      code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES)</flag>
23
      code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES)</flag>
24
    <flag name="lto">Build using Link Time Optimizations (LTO)</flag>
24
    <flag name="mpx">Enable support for Intel Memory Protection Extensions (MPX)</flag>
25
    <flag name="mpx">Enable support for Intel Memory Protection Extensions (MPX)</flag>
25
    <flag name="mudflap">Add support for mudflap, a pointer use checking library</flag>
26
    <flag name="mudflap">Add support for mudflap, a pointer use checking library</flag>
26
    <flag name="nopie">Disable PIE support (NOT FOR GENERAL USE)</flag>
27
    <flag name="nopie">Disable PIE support (NOT FOR GENERAL USE)</flag>
27
- 

Return to bug 685634