diff options
author | Roland McGrath <roland@gnu.org> | 2003-04-12 00:00:30 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-04-12 00:00:30 +0000 |
commit | 49916ec40ac31e264d0e5cddf98a39cc40124f00 (patch) | |
tree | 2b82d89efb20b9f62998d742a3ec379dccc8a570 /linuxthreads | |
parent | 4a2939f99712ba0990758f7ab3616fcdc89c756d (diff) | |
download | glibc-49916ec40ac31e264d0e5cddf98a39cc40124f00.zip glibc-49916ec40ac31e264d0e5cddf98a39cc40124f00.tar.gz glibc-49916ec40ac31e264d0e5cddf98a39cc40124f00.tar.bz2 |
2003-04-11 Roland McGrath <roland@redhat.com>
* Makefile ($(objpfx)multidir.mk): New target, generated makefile that
sets variable `multidir'; include that.
(generated): Add it.
($(objpfx)$(multidir)/crti.o): New target.
[$(multidir) != .] (generated-dirs, extra-objs, omit-deps): Add it.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile | 11 | ||||
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile | 9 |
2 files changed, 0 insertions, 20 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile deleted file mode 100644 index a03d358..0000000 --- a/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -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\)/\|^\|\([^/a-z]\)\)\(crt[in]\.o\)~\3'$(objpfx)'\4~g' > $@.new - mv -f $@.new $@ -endif diff --git a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile index 28d2e22..044c07c 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile +++ b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile @@ -1,12 +1,3 @@ ifeq ($(subdir),linuxthreads) CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions -fno-asynchronous-unwind-tables -# 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/lib\(\|64\)/\|^\|\([^/a-z]\)\)\(crt[in]\.o\),\3./\4,g' > $@.new - mv -f $@.new $@ endif |