OSDN Git Service

Add -DNOT_IN_libc=1 -DIS_IN_libpthread=1 to some sources in nptl/libpthread build.
authorKhem Raj <raj.khem@gmail.com>
Mon, 1 Feb 2010 20:00:55 +0000 (12:00 -0800)
committerKhem Raj <raj.khem@gmail.com>
Mon, 1 Feb 2010 20:26:50 +0000 (12:26 -0800)
* 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>
libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch

index 8dcc82c..a82f8c8 100644 (file)
@@ -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