소스 검색

Makefile.arch: On ARM and MIPS pass -DNOT_IN_libc=1 -DIS_IN_libpthread=1

* This will prevent it using internal __libc* symbols in pthread which
  should be hidden for libc only use.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 16 년 전
부모
커밋
46d7539bb3
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch
  2. 1 0
      libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch

+ 1 - 0
libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch

@@ -16,6 +16,7 @@ ifeq ($(UCLIBC_HAS_STDIO_FUTEXES),y)
 CFLAGS-fork.c = -D__USE_STDIO_FUTEXES__
 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
 
 ASFLAGS-pt-vfork.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1 -marm

+ 1 - 0
libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch

@@ -15,6 +15,7 @@ ifeq ($(UCLIBC_HAS_STDIO_FUTEXES),y)
 CFLAGS-fork.c = -D__USE_STDIO_FUTEXES__
 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
 
 ASFLAGS-pt-vfork.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1