diff options
| author | martin <martin@NetBSD.org> | 2016-04-04 18:29:07 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2016-04-04 18:29:07 +0000 |
| commit | e2d9e7bc7b347b7fb2354886d694f55e8a6007b6 (patch) | |
| tree | 669f207d2ddb7200798981fd3dc22929555fae56 /lib/csu | |
| parent | 9b40f1b9ae3df654ce9cd0ef58b3077cd1a59196 (diff) | |
For the benefit of compilers not using our native C runtime environment,
install a "sysident.o" file providing the note identifying NetBSD
executables (and marking the currently installed version).
Diffstat (limited to 'lib/csu')
| -rw-r--r-- | lib/csu/common/Makefile.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/csu/common/Makefile.inc b/lib/csu/common/Makefile.inc index 645691a15ed..780ce155d0b 100644 --- a/lib/csu/common/Makefile.inc +++ b/lib/csu/common/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.27 2016/03/29 21:23:05 skrll Exp $ +# $NetBSD: Makefile.inc,v 1.28 2016/04/04 18:29:07 martin Exp $ .include <bsd.own.mk> @@ -12,6 +12,7 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/libexec/ld.elf_so -I${COMMON_DIR} -I. OBJS+= crt0.o gcrt0.o crti.o crtn.o OBJS+= crtbegin.o crtend.o +OBJS+= sysident.o .if ${MKPIC} == "yes" OBJS+= crtbeginS.o @@ -129,6 +130,7 @@ CLEANFILES+= sysident_assym.h crti.o: crti.S sysident_assym.h sysident.S crtn.o: crtn.S +sysident.o: sysident.S sysident_assym.h FILES=${OBJS} FILESDIR=${LIBDIR} |
