Only build the a.out as' and ld' if "WANT_AOUT" is defined.

Looking in src/Makfile* it looks like all the "WANT_AOUT" support
has been removed, maybe these should just go away...

Note that the a.out `ld' reaches over into src/contrib/gcc for libiberty
bits.  This is biting us because the libiberty bits have evolved beyond
what the a.out `ld' can handle.

This change fixes the broken world, but only because very few have
"WANT_AOUT" defined.
This commit is contained in:
obrien 2000-12-15 19:49:28 +00:00
parent 81c40ecc9c
commit 2a689b0e2f

View File

@ -7,9 +7,11 @@ SUBDIR= awk bc binutils cc cpio dc dialog diff diff3 gperf \
SUBDIR+=cvs
.endif
.if defined(WANT_AOUT)
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=as ld
.endif
.endif
.if !defined(NOPERL) && exists(${.CURDIR}/perl)
SUBDIR+=perl