aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-05-08 20:35:12 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-05-08 20:35:12 +0000
commit1b860b61d45e4dc4eeb66537e7a6f68ad0561d7d (patch)
treea1fd49c8780ae347764f2e3e9f0949b54fdca6a8 /Makefile.inc1
parentee13ade8a072587e5a1df3e74bf56f831a8daf98 (diff)
downloadsrc-1b860b61d45e4dc4eeb66537e7a6f68ad0561d7d.tar.gz
src-1b860b61d45e4dc4eeb66537e7a6f68ad0561d7d.zip
Build our native CSU bits before the compiler-specific ones.
This helps in the compiler build.
Notes
Notes: svn path=/head/; revision=96230
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 69ad70f23e9a..719e6370b0b1 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -758,15 +758,15 @@ libraries:
# These dependencies are not automatically generated:
#
-# gnu/lib/csu, gnu/lib/libgcc and lib/csu must be built before all
+# lib/csu and gnu/lib/csu, gnu/lib/libgcc must be built before all
# shared libraries for ELF.
#
-_startup_libs= gnu/lib/csu gnu/lib/libgcc
.if exists(${.CURDIR}/lib/csu/${MACHINE_ARCH}-${OBJFORMAT})
-_startup_libs+= lib/csu/${MACHINE_ARCH}-${OBJFORMAT}
+_startup_libs= lib/csu/${MACHINE_ARCH}-${OBJFORMAT}
.else
-_startup_libs+= lib/csu/${MACHINE_ARCH}
+_startup_libs= lib/csu/${MACHINE_ARCH}
.endif
+_startup_libs+= gnu/lib/csu gnu/lib/libgcc
_prebuild_libs=