gcc: always explicitly link against libstdc++, fixes build errors on some hosts that...
[openwrt.git] / toolchain / glibc-ports / patches / 2.7 / 102-arm_nptl.patch
1 diff -durN glibc-ports-2.6.1.orig/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
2 --- glibc-ports-2.6.1.orig/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2005-11-16 20:22:59.000000000 +0100
3 +++ glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-09-06 13:53:16.000000000 +0200
4 @@ -126,3 +126,9 @@
5 # define NO_CANCELLATION 1
6
7 #endif
8 +
9 +#ifndef __ASSEMBLER__
10 +# define RTLD_SINGLE_THREAD_P \
11 + __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
12 + header.multiple_threads) == 0, 1)
13 +#endif
This page took 0.052785 seconds and 5 git commands to generate.