diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2000-11-05 22:28:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2000-11-05 22:28:20 +0000 |
commit | ed597fcb3e0fe75f038f32d7386f338d4f49cad5 (patch) | |
tree | df98b68764a854d47151ba1a381b2b04bb84e5b9 /gnu | |
parent | a8e0678642aee6d0770ad0a84a25391429456dfb (diff) |
Link with gcc -shared
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/libexec/ld.so/ld.so/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
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 <bsd.prog.mk> |