From e28262f3894202c7c0b373019d455593da4e63dd Mon Sep 17 00:00:00 2001 From: John Birrell Date: Wed, 11 Mar 1998 21:00:49 +0000 Subject: [PATCH] Put a -DBOOTSTRAP in the make flags for the lib-tools so that the crt objects built during that phase don't try to find FreeBSD specific headers. This causes the rtld to be left out, but that's OK because at this stage, the programs are linked statically anyway. When the libraries are built, the crt objects will be built with the FreeBSD tools and compiled against the FreeBSD headers, so that's the time when the rtld support cuts in. --- Makefile.alpha | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.alpha b/Makefile.alpha index 381696e50deb..1b1ef4381b4e 100644 --- a/Makefile.alpha +++ b/Makefile.alpha @@ -1,4 +1,4 @@ -# $Id: Makefile.alpha,v 1.3 1998/03/09 00:25:30 jb Exp $ +# $Id: Makefile.alpha,v 1.4 1998/03/10 20:25:17 jb Exp $ # # NOTE: # @@ -331,6 +331,7 @@ lib-tools: ln -s /usr/bin/grotty ${WORLDTMP}/usr/bin/grotty ln -s /usr/bin/pic ${WORLDTMP}/usr/bin/pic ln -s /usr/bin/tbl ${WORLDTMP}/usr/bin/tbl + @echo @echo "--------------------------------------------------------------" @echo " Build tools to compile and install the libraries...." @echo "--------------------------------------------------------------" @@ -346,8 +347,8 @@ lib-tools: usr.bin/mk_cmds \ usr.bin/uudecode cd ${.CURDIR}/$d && ${MAKE} obj && \ - ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all && \ + ${MAKE} ${MK_FLAGS} -DBOOTSTRAP depend && \ + ${MAKE} ${MK_FLAGS} -DBOOTSTRAP all && \ ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} .endfor