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:
David E. O'Brien 2000-12-15 19:49:28 +00:00
parent 216af8221e
commit 4979e034c1

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