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:
John Birrell 1998-03-11 21:00:49 +00:00
parent 0f471b05f9
commit e28262f389
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34491

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: # NOTE:
# #
@ -331,6 +331,7 @@ lib-tools:
ln -s /usr/bin/grotty ${WORLDTMP}/usr/bin/grotty ln -s /usr/bin/grotty ${WORLDTMP}/usr/bin/grotty
ln -s /usr/bin/pic ${WORLDTMP}/usr/bin/pic ln -s /usr/bin/pic ${WORLDTMP}/usr/bin/pic
ln -s /usr/bin/tbl ${WORLDTMP}/usr/bin/tbl ln -s /usr/bin/tbl ${WORLDTMP}/usr/bin/tbl
@echo
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
@echo " Build tools to compile and install the libraries...." @echo " Build tools to compile and install the libraries...."
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
@ -346,8 +347,8 @@ lib-tools:
usr.bin/mk_cmds \ usr.bin/mk_cmds \
usr.bin/uudecode usr.bin/uudecode
cd ${.CURDIR}/$d && ${MAKE} obj && \ cd ${.CURDIR}/$d && ${MAKE} obj && \
${MAKE} depend && \ ${MAKE} ${MK_FLAGS} -DBOOTSTRAP depend && \
${MAKE} ${MK_FLAGS} all && \ ${MAKE} ${MK_FLAGS} -DBOOTSTRAP all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endfor .endfor