OSDN Git Service

nptl: If DOPIC is set then we missed a rule to generate .os variants for pt-*.c files
authorKhem Raj <raj.khem@gmail.com>
Sat, 18 Dec 2010 16:08:05 +0000 (08:08 -0800)
committerKhem Raj <raj.khem@gmail.com>
Sat, 18 Dec 2010 16:08:05 +0000 (08:08 -0800)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libpthread/nptl/sysdeps/pthread/Makefile.in

index 8ccf96d..fc0c6ac 100644 (file)
@@ -95,6 +95,10 @@ $(patsubst %,$(libpthread_pthread_OUT)/pt-%.oS,$(pthread-lc-fwd)): $(libpthread_
        $(compile.c)
 $(patsubst %,$(libpthread_pthread_OUT)/pt-%.o,$(pthread-lc-fwd)): $(libpthread_pthread_OUT)/pt-%.o: $(libpthread_pthread_OUT)/pt-%.c
        $(compile.c)
+ifeq ($(DOPIC),y)
+$(patsubst %,$(libpthread_pthread_OUT)/pt-%.os,$(pthread-lc-fwd)): $(libpthread_pthread_OUT)/pt-%.os: $(libpthread_pthread_OUT)/pt-%.c
+       $(compile.c)
+endif
 
 objclean-y += CLEAN_libpthread/nptl/sysdeps/pthread