From 33d0682a0a9de9951ea990fb738c3936b36f70a0 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Sun, 1 May 2005 19:19:12 +0000 Subject: [PATCH] Link with --no-undefined to enfore the normal missing symbol check, it was disabled by the -Bshared. RTLD is a shared object, but can't depend on any other source for symbols. --- libexec/rtld-elf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 1575493426..7e6bcb5ad7 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -1,12 +1,12 @@ # $FreeBSD: src/libexec/rtld-elf/Makefile,v 1.10.2.6 2002/06/22 17:03:13 jdp Exp $ -# $DragonFly: src/libexec/rtld-elf/Makefile,v 1.7 2005/04/29 21:46:41 joerg Exp $ +# $DragonFly: src/libexec/rtld-elf/Makefile,v 1.8 2005/05/01 19:19:12 joerg Exp $ PROG= ld-elf.so.1 SRCS= rtld_start.S rtld.c lockdflt.c map_object.c malloc.c \ xmalloc.c debug.c reloc.c MAN= rtld.1 CFLAGS+= -Wall -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR} -D__thread= -LDFLAGS+= -nostdlib -e .rtld_start +LDFLAGS+= -nostdlib -e .rtld_start -Wl,--no-undefined INSTALLFLAGS= -fschg -C -b MLINKS= rtld.1 ld-elf.so.1.1 -- 2.32.0