aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-04-05 08:53:35 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-04-05 08:53:35 +0000
commite3e51a021c4c5d958bbdc916acf247e75e940dcd (patch)
treedef14c54f4f876df6308f5245da9d74630ef8e9f /gnu
parent466c257c1f4e0072e94f0224988df9f96b11a941 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/csu/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index 3426800ec491..2f8d3ad36cff 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -16,11 +16,7 @@ SOBJS= crtbegin.So crtend.So
CFLAGS+= -I${GCCDIR}/config -I. -DIN_GCC \
-finhibit-size-directive -fno-inline-functions \
-fno-exceptions -fno-omit-frame-pointer
-NOMAN= true
-NOPIC= true
-NOPROFILE= true
INTERNALLIB= true
-CLEANFILES+= tm.h
CRTS_CFLAGS= -DCRTSTUFFS_O ${PICFLAG}
@@ -35,7 +31,7 @@ crt${PART}.s: crt${PART}.asm
ln -sf ${.ALLSRC} ${.TARGET}
.endfor
.else
-crtbegin.o crtbegin.So crtend.o crtend.So: crtstuff.c tm.h
+crtbegin.o crtbegin.So crtend.o crtend.So: ${SRCS}
.endif
crtbegin.o:
@@ -54,6 +50,7 @@ crtend.So:
${CC} ${CFLAGS} -g0 -DCRT_END ${CRTS_CFLAGS} \
-c -o ${.TARGET} ${UGLYHACK} ${.ALLSRC:N*.h}
+CLEANFILES+= tm.h
# KEEP THIS IN SYNC with src/gnu/usr.bin/cc/cc_tools/Makefile !!
tm.h:
echo '#include "${MACHINE_ARCH}/${MACHINE_ARCH}.h"' > ${.TARGET}