diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-17 01:47:39 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-17 01:47:39 +0000 |
commit | b52e43ee5f42a8af53931618e2037aa7285daaf2 (patch) | |
tree | 679932da1c82dcf4df44323eac29e91c819a8a5a /linuxthreads | |
parent | 87ddb7e0c14d96e9c64839ef725bc75a169e499c (diff) | |
download | glibc-b52e43ee5f42a8af53931618e2037aa7285daaf2.tar glibc-b52e43ee5f42a8af53931618e2037aa7285daaf2.tar.gz glibc-b52e43ee5f42a8af53931618e2037aa7285daaf2.tar.bz2 glibc-b52e43ee5f42a8af53931618e2037aa7285daaf2.zip |
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.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile | 10 | ||||
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile | 9 |
2 files changed, 10 insertions, 9 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile new file mode 100644 index 0000000000..22b3ee6c72 --- /dev/null +++ b/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile @@ -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 diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile deleted file mode 100644 index 50b4ee38fb..0000000000 --- a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile +++ /dev/null @@ -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 |