Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 317217
Collapse All | Expand All

(-)toolchain.eclass (-1 / +8 lines)
Lines 1166-1171 Link Here
1166
		if tc_version_is_at_least "4.4" ; then
1166
		if tc_version_is_at_least "4.4" ; then
1167
			confgcc="${confgcc} --with-python-dir=${DATAPATH/$PREFIX/}/python"
1167
			confgcc="${confgcc} --with-python-dir=${DATAPATH/$PREFIX/}/python"
1168
		fi
1168
		fi
1169
1170
		# For newer versions of gcc, use the default ("release"), because no
1171
		# one (even upstream apparently) tests with it disabled. #317217
1172
		if tc_version_is_at_least 4 || [[ -n ${GCC_CHECKS_LIST} ]] ; then
1173
			confgcc="${confgcc} --enable-checking=${GCC_CHECKS_LIST:-release}"
1174
		else
1175
			confgcc="${confgcc} --disable-checking"
1176
		fi
1169
	fi
1177
	fi
1170
1178
1171
	# GTK+ is preferred over xlib in 3.4.x (xlib is unmaintained
1179
	# GTK+ is preferred over xlib in 3.4.x (xlib is unmaintained
Lines 1318-1324 Link Here
1318
	# reasonably sane globals (hopefully)
1326
	# reasonably sane globals (hopefully)
1319
	confgcc="${confgcc} \
1327
	confgcc="${confgcc} \
1320
		--with-system-zlib \
1328
		--with-system-zlib \
1321
		--disable-checking \
1322
		--disable-werror \
1329
		--disable-werror \
1323
		--enable-secureplt"
1330
		--enable-secureplt"
1324
1331

Return to bug 317217