mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
2002-09-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Move... * sysdeps/unix/sysv/linux/sparc/Makefile: ...here. Replace /usr/lib/crt[in].o with crt[in].o too.
This commit is contained in:
parent
87ddb7e0c1
commit
b52e43ee5f
10
linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile
Normal file
10
linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
ifeq ($(subdir),linuxthreads)
|
||||||
|
# gcc has /usr/lib{,64}/crti.o hardcoded in the specs file, because otherwise
|
||||||
|
# it would normally find {64,32}bit crt[in].o.
|
||||||
|
LDFLAGS-pthread.so += -specs=$(objpfx)specs
|
||||||
|
before-compile += $(objpfx)specs
|
||||||
|
generated += specs
|
||||||
|
$(objpfx)specs:
|
||||||
|
$(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs \
|
||||||
|
| sed 's,/usr/lib\(\|64\)/\(crt[in]\.o\),\2,g' > $@
|
||||||
|
endif
|
@ -1,9 +0,0 @@
|
|||||||
ifeq ($(subdir),linuxthreads)
|
|
||||||
# gcc -m64 has /usr/lib64/crti.o hardcoded in the specs file, because otherwise
|
|
||||||
# it would normally find 32bit crti.o.
|
|
||||||
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' > $@
|
|
||||||
endif
|
|
Loading…
Reference in New Issue
Block a user