OSDN Git Service

nptl/pthread: Correct path for machine specific pt-initfini.c
authorKhem Raj <raj.khem@gmail.com>
Tue, 14 Jun 2011 00:13:52 +0000 (17:13 -0700)
committerKhem Raj <raj.khem@gmail.com>
Tue, 14 Jun 2011 00:15:31 +0000 (17:15 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libpthread/nptl/sysdeps/pthread/Makefile.in

index 398eaea..ca84642 100644 (file)
@@ -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