From ed597fcb3e0fe75f038f32d7386f338d4f49cad5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 5 Nov 2000 22:28:20 +0000 Subject: Link with gcc -shared --- gnu/libexec/ld.so/ld.so/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gnu/libexec') diff --git a/gnu/libexec/ld.so/ld.so/Makefile b/gnu/libexec/ld.so/ld.so/Makefile index b637fead325..c41b58fb14f 100644 --- a/gnu/libexec/ld.so/ld.so/Makefile +++ b/gnu/libexec/ld.so/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 1997/04/27 20:55:51 millert Exp $ +# $OpenBSD: Makefile,v 1.5 2000/11/05 22:28:19 miod Exp $ SUBDIR= # libdl @@ -13,10 +13,8 @@ INSTALL_STRIP= .PATH: ${.CURDIR}/${MACHINE_ARCH} -ELF_LDFLAGS=--shared # using GNU ld - $(PROG): - $(LD) -x -e _dl_boot $(ELF_LDFLAGS) -o $(PROG) $(OBJS) + ${CC} -shared -e _dl_boot -o ${PROG} `${LORDER} ${OBJS}|tsort -q` .include -- cgit v1.2.3