소스 검색

nptl/pthread: Correct path for machine specific pt-initfini.c

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 14 년 전
부모
커밋
f282ca2286
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      libpthread/nptl/sysdeps/pthread/Makefile.in

+ 2 - 2
libpthread/nptl/sysdeps/pthread/Makefile.in

@@ -75,8 +75,8 @@ CFLAGS-pt-initfini.c = -S -g0 $(PICFLAG) -fno-inline-functions	\
 			$(patsubst -f%,-fno-%,$(call check_gcc,-fexceptions,))
 
 #ASFLAGS += $(PICFLAG) -I$(top_srcdir)include -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)
-ifneq ($(wildcard $(libpthread_DIR)/sysdeps/linux/$(TARGET_ARCH)/pt-initfini.c),)
-PTHREAD_INITFINI := $(libpthread_DIR)/sysdeps/linux/$(TARGET_ARCH)/pt-initfini.c
+ifneq ($(wildcard $(libpthread_pthread_DIR)/../unix/sysv/linux/$(TARGET_ARCH)/pt-initfini.c),)
+PTHREAD_INITFINI := $(libpthread_pthread_DIR)/../unix/sysv/linux/$(TARGET_ARCH)/pt-initfini.c
 else
 PTHREAD_INITFINI := $(libpthread_pthread_DIR)/pt-initfini.c
 endif