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

Collapse All | Expand All

(-)/usr/portage/sys-libs/glibc/glibc-2.3.3.20040420-r1.ebuild (-2 / +17 lines)
Lines 191-198 Link Here
191
		local KERNEL_HEADERS="$(get_KHV "`KV_to_int ${MIN_NPTL_KV}`")"
191
		local KERNEL_HEADERS="$(get_KHV "`KV_to_int ${MIN_NPTL_KV}`")"
192
192
193
		einfon "Checking kernel headers for broken sysctl.h ... "
193
		einfon "Checking kernel headers for broken sysctl.h ... "
194
		cat > ${T}/test-sysctl_h.c <<EOF
195
#include <linux/sysctl.h>
196
197
int main()
198
{
199
	return 0;
200
}
201
EOF
194
		if ! gcc -I"${KERNEL_HEADERS}" \
202
		if ! gcc -I"${KERNEL_HEADERS}" \
195
		         -c ${FILESDIR}/test-sysctl_h.c -o ${T}/test1.o &> /dev/null
203
		         -c ${T}/test-sysctl_h.c -o ${T}/test1.o &> /dev/null
196
		then
204
		then
197
			echo "yes"
205
			echo "yes"
198
			echo
206
			echo
Lines 220-226 Link Here
220
	if use_nptl
228
	if use_nptl
221
	then
229
	then
222
		einfon "Checking gcc for __thread support ... "
230
		einfon "Checking gcc for __thread support ... "
223
		if ! gcc -c ${FILESDIR}/test-__thread.c -o ${T}/test2.o &> /dev/null
231
		cat > ${T}/test-__thread.c <<EOF
232
extern __thread int i;
233
234
int main() {
235
	return 0;
236
}
237
EOF
238
		if ! gcc -c ${T}/test-__thread.c -o ${T}/test2.o &> /dev/null
224
		then
239
		then
225
			echo "no"
240
			echo "no"
226
			echo
241
			echo

Return to bug 61856