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

Collapse All | Expand All

(-)gen_compile.old.sh (-11 / +14 lines)
Lines 268-273 Link Here
268
}
268
}
269
269
270
compile_modutils() {
270
compile_modutils() {
271
	# I've disabled dietlibc support for the time being since the
272
	# version we use misses a few needed system calls.
273
271
	local ARGS
274
	local ARGS
272
	if [ ! -f "${MODUTILS_BINCACHE}" ]
275
	if [ ! -f "${MODUTILS_BINCACHE}" ]
273
	then
276
	then
Lines 281-292 Link Here
281
		cd "${MODUTILS_DIR}"
284
		cd "${MODUTILS_DIR}"
282
		print_info 1 "modutils: >> Configuring..."
285
		print_info 1 "modutils: >> Configuring..."
283
286
284
		if [ "${USE_DIETLIBC}" -eq '1' ]
287
#		if [ "${USE_DIETLIBC}" -eq '1' ]
285
		then
288
#		then
286
			extract_dietlibc_bincache
289
#			extract_dietlibc_bincache
287
			OLD_CC="${UTILS_CC}"
290
#			OLD_CC="${UTILS_CC}"
288
			UTILS_CC="${TEMP}/diet/bin/diet ${UTILS_CC}"
291
#			UTILS_CC="${TEMP}/diet/bin/diet ${UTILS_CC}"
289
		fi
292
#		fi
290
293
291
		export_utils_args
294
		export_utils_args
292
		export ARCH=${ARCH}
295
		export ARCH=${ARCH}
Lines 297-307 Link Here
297
		print_info 1 'modutils: >> Compiling...'
300
		print_info 1 'modutils: >> Compiling...'
298
		compile_generic all utils
301
		compile_generic all utils
299
302
300
		if [ "${USE_DIETLIBC}" -eq '1' ]
303
#		if [ "${USE_DIETLIBC}" -eq '1' ]
301
		then
304
#		then
302
			clean_dietlibc_bincache
305
#			clean_dietlibc_bincache
303
			UTILS_CC="${OLD_CC}"
306
#			UTILS_CC="${OLD_CC}"
304
		fi
307
#		fi
305
308
306
		print_info 1 'modutils: >> Copying to cache...'
309
		print_info 1 'modutils: >> Copying to cache...'
307
		[ -f "${TEMP}/${MODUTILS_DIR}/insmod/insmod.static" ] ||
310
		[ -f "${TEMP}/${MODUTILS_DIR}/insmod/insmod.static" ] ||

Return to bug 60862