[git commit master] Add -DNOT_IN_libc=1 -DIS_IN_libpthread=1 to some sources in nptl/libpthread build.

Khem Raj raj.khem at gmail.com
Fri Apr 23 14:31:55 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=e999106d1b95e63283e9bb8246e5c34e9c1e85f7
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

* This will prevent use of internal __libc* symbols in libpthread which
  should be hidden for libc only use.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch
index 8dcc82c..a82f8c8 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch
@@ -18,6 +18,7 @@ endif
 CFLAGS-pthread_once.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
 CFLAGS-pt-__syscall_rt_sigaction.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
 CFLAGS-lowlevellock.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
+CFLAGS-pt-__syscall_error.c =  -DNOT_IN_libc=1 -DIS_IN_libpthread=1
 
 ASFLAGS-pt-vfork.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1 -marm
 # We always compile it in arm mode because of SAVE_PID macro
-- 
1.6.3.3



More information about the uClibc-cvs mailing list