Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/pcc/lib don't build and install the crtbegin.o ...
details: https://anonhg.NetBSD.org/src/rev/964599be8565
branches: trunk
changeset: 751467:964599be8565
user: plunky <plunky%NetBSD.org@localhost>
date: Fri Feb 05 08:46:25 2010 +0000
description:
don't build and install the crtbegin.o and crtend.o files at this stage,
they conflict with the system provided ones (lib/csu) and cause problems.
diffstat:
external/bsd/pcc/lib/Makefile | 4 ++--
external/bsd/pcc/lib/crtstuff/Makefile | 31 -------------------------------
2 files changed, 2 insertions(+), 33 deletions(-)
diffs (46 lines):
diff -r fa328f485e86 -r 964599be8565 external/bsd/pcc/lib/Makefile
--- a/external/bsd/pcc/lib/Makefile Fri Feb 05 08:42:39 2010 +0000
+++ b/external/bsd/pcc/lib/Makefile Fri Feb 05 08:46:25 2010 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile,v 1.2 2010/01/20 11:45:55 plunky Exp $
+# $NetBSD: Makefile,v 1.3 2010/02/05 08:46:25 plunky Exp $
-SUBDIR= crtstuff libpcc
+SUBDIR= libpcc
.include <bsd.subdir.mk>
diff -r fa328f485e86 -r 964599be8565 external/bsd/pcc/lib/crtstuff/Makefile
--- a/external/bsd/pcc/lib/crtstuff/Makefile Fri Feb 05 08:42:39 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2010/01/20 11:45:55 plunky Exp $
-
-.include <bsd.init.mk>
-
-.PATH: ${PCC_LIBS}/csu/${TARGOS}
-
-SRCS+= crtbegin.c crtend.c
-OBJS+= crtbegin.o crtend.o
-
-CPPFLAGS+= -I${PCC_LIBS}/csu/${TARGOS}
-CPPFLAGS+= -Wno-missing-prototypes
-
-realall: ${OBJS}
-
-crtbegin.o: crtbegin.c
- ${_MKTARGET_COMPILE}
- ${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o
- ${LD} -x -r -o ${.TARGET} ${.TARGET}.o
- rm -f ${.TARGET}.o
-
-crtend.o: crtend.c
- ${_MKTARGET_COMPILE}
- ${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o
- ${LD} -x -r -o ${.TARGET} ${.TARGET}.o
- rm -f ${.TARGET}.o
-
-FILES=${OBJS}
-FILESDIR=${LIBDIR}
-CLEANFILES=${OBJS}
-
-.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index