Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/common Only install crtbeginS.o, crtbeginT.o and crt...
details: https://anonhg.NetBSD.org/src/rev/9b03952f17e8
branches: trunk
changeset: 787821:9b03952f17e8
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Jul 05 02:06:49 2013 +0000
description:
Only install crtbeginS.o, crtbeginT.o and crtendS.o when MKPIC=yes.
diffstat:
lib/csu/common/Makefile.inc | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 28b1d80f4c5e -r 9b03952f17e8 lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc Thu Jul 04 23:53:13 2013 +0000
+++ b/lib/csu/common/Makefile.inc Fri Jul 05 02:06:49 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.12 2013/06/27 21:24:39 matt Exp $
+# $NetBSD: Makefile.inc,v 1.13 2013/07/05 02:06:49 joerg Exp $
.include <bsd.own.mk>
@@ -8,7 +8,11 @@
CPPFLAGS+= -I${NETBSDSRCDIR}/libexec/ld.elf_so -I${COMMON_DIR} -I.
OBJS+= crt0.o gcrt0.o crti.o crtn.o
-OBJS+= crtbegin.o crtbeginS.o crtend.o
+OBJS+= crtbegin.o crtend.o
+
+.if ${MKPIC} == "yes"
+OBJS+= crtbeginS.o
+.endif
realall: ${OBJS}
@@ -92,7 +96,10 @@
FILES=${OBJS}
FILESDIR=${LIBDIR}
CLEANFILES+=${OBJS}
+
+.if ${MKPIC} == "yes"
SYMLINKS+= crtbegin.o ${LIBDIR}/crtbeginT.o
SYMLINKS+= crtend.o ${LIBDIR}/crtendS.o
+.endif
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index