summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-12-15 19:49:28 +0000
committerobrien <obrien@FreeBSD.org>2000-12-15 19:49:28 +0000
commit2a689b0e2f30be293d2361771dc52afdc7924495 (patch)
treeb2fa66d68d3f3d32049c3afdae45040c66186e0d /gnu
parent81c40ecc9ceba6e061fd35e0d08c8c37d3121aee (diff)
downloadFreeBSD-src-2a689b0e2f30be293d2361771dc52afdc7924495.zip
FreeBSD-src-2a689b0e2f30be293d2361771dc52afdc7924495.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 0209757..694f38a 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -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
OpenPOWER on IntegriCloud