Skip to content

Commit

Permalink
2002-08-30 Roland McGrath <roland@redhat.com>
Browse files Browse the repository at this point in the history
	* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage
	crtn.o pathname too.
  • Loading branch information
Roland McGrath committed Aug 31, 2002
1 parent 795726d commit c5e341e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c5e341e

Please sign in to comment.