diff options
| author | thorpej <thorpej@NetBSD.org> | 2002-09-17 23:18:25 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2002-09-17 23:18:25 +0000 |
| commit | 3b08abd277b21a02e65f72032ad1f9f32cc89c4d (patch) | |
| tree | c6b3ec2166adec84122c0050f3b97c3264afdce0 /gnu/lib/libstdc++/include | |
| parent | c524f280a68cad37a130628d109b8ad43477bd98 (diff) | |
* Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
two variables:
TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
no working in-tree toolchain (hppa, ns32k, sh5, x86_64).
EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
an external toolchain (e.g. /usr/local/gnu). This enables the cross-build
framework even for TOOLCHAIN_MISSING platforms.
If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
unconditionally set to "no", since the bits are not there to build.
If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
since the external toolchain's compiler is not in-sync with the
in-tree compiler support components (e.g. libgcc).
* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
that file can use it.
Diffstat (limited to 'gnu/lib/libstdc++/include')
| -rw-r--r-- | gnu/lib/libstdc++/include/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/lib/libstdc++/include/Makefile b/gnu/lib/libstdc++/include/Makefile index 618def55f4d..f0d5284211a 100644 --- a/gnu/lib/libstdc++/include/Makefile +++ b/gnu/lib/libstdc++/include/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/08/19 09:46:42 lukem Exp $ +# $NetBSD: Makefile,v 1.3 2002/09/17 23:18:37 thorpej Exp $ .include <bsd.own.mk> @@ -6,8 +6,6 @@ # to avoid issues like "iostream.cc" using the default ".cc:" rule # to build the "iostream" file (which is actually a header). -.if defined(USE_NEW_TOOLCHAIN) - .include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk" DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain @@ -19,5 +17,3 @@ INCSDIR= /usr/include/g++ # Get default targets including <bsd.inc.mk>. .include <bsd.prog.mk> - -.endif |
