2002-08-30 Roland McGrath <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage
	crtn.o pathname too.
This commit is contained in:
Roland McGrath 2002-08-31 05:31:17 +00:00
parent 795726d6ab
commit c5e341eec9
1 changed files with 3 additions and 1 deletions

View File

@ -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