瀏覽代碼

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 13 年之前
父節點
當前提交
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