diff options
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r-- | linuxthreads/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index ff26e06eea..ef34cda0c3 100644 --- a/linuxthreads/Makefile +++ b/linuxthreads/Makefile @@ -171,6 +171,9 @@ $(objpfx)libc_pic_lite.os: $(objpfx)libc_pic_lite.a $(objpfx)libc-tsd.os $(LINK.o) -nostdlib -nostartfiles -r -o $@ \ $(LDFLAGS-c_pic.os) -Wl,-d -Wl,--whole-archive $^ +# This trick leaves errno and h_errno undefined. +libc.so-no-z-defs = yes + $(objpfx)libc.so: $(elfobjdir)/soinit.os \ $(objpfx)libc_pic_lite.os \ $(elfobjdir)/sofini.os \ |