Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/alpha Build and install crtfm.o (sets the Alpha FP_C...



details:   https://anonhg.NetBSD.org/src/rev/028b2e92f197
branches:  trunk
changeset: 520560:028b2e92f197
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jan 14 01:31:58 2002 +0000

description:
Build and install crtfm.o (sets the Alpha FP_C in a way that GCC's
-ffast-math on Alpha expects).

diffstat:

 lib/csu/alpha/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 5624d7e07d47 -r 028b2e92f197 lib/csu/alpha/Makefile
--- a/lib/csu/alpha/Makefile    Mon Jan 14 01:31:00 2002 +0000
+++ b/lib/csu/alpha/Makefile    Mon Jan 14 01:31:58 2002 +0000
@@ -1,8 +1,16 @@
-#      $NetBSD: Makefile,v 1.21 2001/07/17 03:56:48 thorpej Exp $
+#      $NetBSD: Makefile,v 1.22 2002/01/14 01:31:58 thorpej Exp $
 
 ELFSIZE=       64
 
 #Uncomment the next line to enable the new .init fallthru
 CPPFLAGS+=     -I- -I${.CURDIR}
 
+OBJS+= crtfm.o
+
 .include "${.CURDIR}/../common_elf/Makefile.inc"
+
+crtfm.o: crtfm.c
+       @echo "${COMPILE.c} ${.ALLSRC} -o ${.TARGET}"
+       @${COMPILE.c} ${.ALLSRC} -o ${.TARGET}.o
+       @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
+       @rm -f ${.TARGET}.o



Home | Main Index | Thread Index | Old Index