diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-02-26 19:46:28 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-02-26 19:46:28 +0000 |
commit | c0c94d38d2284d6aaf9c60cc13270f72e5f4e6e6 (patch) | |
tree | 91f96072e35e9df0d3e51b9ed6cbb5a4bd65fec4 | |
parent | f0648d8e6dcd34769e8931d78498c0e29a69eff5 (diff) |
Link with libgcc, will be necessary after the upcoming toolchain changes.
-rw-r--r-- | libexec/ld.so/sh/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ld.so/sh/Makefile.inc b/libexec/ld.so/sh/Makefile.inc index 19e1b36bd49..2343bf241ef 100644 --- a/libexec/ld.so/sh/Makefile.inc +++ b/libexec/ld.so/sh/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2006/11/10 07:44:58 drahn Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2007/02/26 19:46:27 miod Exp $ CFLAGS += -fpic AFLAGS += -D_STANDALONE @@ -6,3 +6,4 @@ AFLAGS += -I${.CURDIR}/../../lib/libc/arch/sh SRCS+= udivsi3.S sdivsi3.S ELF_LDFLAGS+=-z nocombreloc LIBCSRCDIR=${.CURDIR}/../../lib/libc +LDADD= `$(CC) -print-libgcc-file-name` |