From c5e341eec9e3528190b76afc68613471d2e3e2b5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 31 Aug 2002 05:31:17 +0000 Subject: [PATCH] 2002-08-30 Roland McGrath * sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage crtn.o pathname too. --- linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile index b65099f48f..f5ad5084c4 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile +++ b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile @@ -6,5 +6,7 @@ LDFLAGS-pthread.so += -specs=$(objpfx)specs before-compile += $(objpfx)specs generated += specs $(objpfx)specs: - $(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs | sed 's_/usr/lib64/crti.o_crti.o_g' > $@ + $(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs \ + | sed 's,/usr/lib64/\(crt[in]\.o\),\1,g' > $@.new + mv -f $@.new $@ endif -- 2.43.5