summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-04-09 18:59:36 +0000
committerjdp <jdp@FreeBSD.org>1997-04-09 18:59:36 +0000
commit744407e228984a12bf81bff539b2a7c6bd781339 (patch)
treeb7385c72080fb5a059831640b384732853f5bc67 /Makefile
parent9949bd676e67df3010077d806ac69db56f472ff7 (diff)
downloadFreeBSD-src-744407e228984a12bf81bff539b2a7c6bd781339.zip
FreeBSD-src-744407e228984a12bf81bff539b2a7c6bd781339.tar.gz
Process "lib/csu/i386" at the beginning of the "libraries" target,
instead of in the middle of it. Soon, "c++rt0.o" will be linked into all shared libraries. An up-to-date version of it must be in place before any shared libraries are built. This is one piece of the solution for PR gnu/3035 (gcc -shared).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 1f19482..4623b96 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.119 1997/04/02 16:44:06 ache Exp $
+# $Id: Makefile,v 1.120 1997/04/02 17:10:16 ache Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@@ -458,6 +458,10 @@ lib-tools:
# libraries - build and install the libraries
#
libraries:
+.if exists(lib/csu/i386)
+ cd ${.CURDIR}/lib/csu/i386 && ${MAKE} depend && \
+ ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
+.endif
.if exists(lib/libcompat)
cd ${.CURDIR}/lib/libcompat && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
@@ -470,10 +474,6 @@ libraries:
cd ${.CURDIR}/lib/libtermcap && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
.endif
-.if exists(lib)
- cd ${.CURDIR}/lib/csu/i386 && ${MAKE} depend && \
- ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
-.endif
.if exists(gnu)
cd ${.CURDIR}/gnu/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
OpenPOWER on IntegriCloud