Browse Source

Add -DNOT_IN_libc=1 -DIS_IN_libpthread=1 to some sources in nptl/libpthread build.

* 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@gmail.com>
Khem Raj 15 years ago
parent
commit
e999106d1b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch

+ 1 - 0
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