summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2007-10-30 17:19:59 +0000
committerskrll <skrll@NetBSD.org>2007-10-30 17:19:59 +0000
commit29353f93e21f780bc0bcd6f0b0e746c571f716ef (patch)
treeaf10e340f139d867fbd5fd32d5c27a9fbb8ac9c2 /libexec
parent4501e92c93c80ba7ffe930afd5c3141e4a5e4782 (diff)
Build a local copy of exit that doesn't call __cxa_finalize. It's not
needed and drags in a lot of libc via free.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.elf_so/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile
index 928a1468e76..a50921fa63b 100644
--- a/libexec/ld.elf_so/Makefile
+++ b/libexec/ld.elf_so/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.82 2007/10/29 20:36:31 christos Exp $
+# $NetBSD: Makefile,v 1.83 2007/10/30 17:19:59 skrll Exp $
.include <bsd.own.mk> # for OBJECT_FMT definition
.include <bsd.shlib.mk> # for SHLINKINSTALLDIR definition
@@ -33,16 +33,14 @@ LDFLAGS+= -Wl,-static
CLIBOBJ!= cd ${NETBSDSRCDIR}/lib/libc && ${PRINTOBJDIR}
-.PATH.c: ${NETBSDSRCDIR}/lib/libc/sys
-
SRCS+= rtld.c reloc.c symbol.c xmalloc.c xprintf.c debug.c \
- map_object.c load.c search.c headers.c paths.c expand.c \
- stack_protector.c
+ map_object.c load.c search.c headers.c paths.c expand.c
-.if ${USE_SSP:Uno} == "yes"
.PATH.c: ${NETBSDSRCDIR}/lib/libc/sys
SRCS+= stack_protector.c
-.endif
+
+.PATH.c: ${NETBSDSRCDIR}/lib/libc/stdlib
+SRCS+= exit.c
BINDIR= ${SHLINKINSTALLDIR}