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

Collapse All | Expand All

(-)toolchain.eclass (+3 lines)
Lines 1145-1152 gcc_do_make() { Link Here
1145
	want_boundschecking && export MAKEOPTS="${MAKEOPTS} -j1"
1145
	want_boundschecking && export MAKEOPTS="${MAKEOPTS} -j1"
1146
1146
1147
	if [[ ${GCC_MAKE_TARGET} == "all" ]] ; then
1147
	if [[ ${GCC_MAKE_TARGET} == "all" ]] ; then
1148
		STAGE1_CFLAGS=${STAGE1_CFLAGS-"${CFLAGS}"}
1148
		STAGE1_CFLAGS=${STAGE1_CFLAGS-"${CFLAGS}"}
1149
	elif [[ $(gcc-version) == "3.4" && ${GCC_BRANCH_VER} == "3.4" ]] && has_hardened ; then
1150
		# See bug #79852
1151
		STAGE1_CFLAGS=${STAGE1_CFLAGS-"-O2"}
1149
	else
1152
	else
1150
		STAGE1_CFLAGS=${STAGE1_CFLAGS-"-O"}
1153
		STAGE1_CFLAGS=${STAGE1_CFLAGS-"-O"}
1151
	fi
1154
	fi
1152
1155

Return to bug 79852