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.
This commit is contained in:
jb 1998-03-11 21:00:49 +00:00
parent cb348fd0d5
commit cb9d9e3be3

View File

@ -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