diff options
Diffstat (limited to 'lang/gcc3/Makefile.common')
-rw-r--r-- | lang/gcc3/Makefile.common | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/gcc3/Makefile.common b/lang/gcc3/Makefile.common index 0a2e6605355..0f237c72133 100644 --- a/lang/gcc3/Makefile.common +++ b/lang/gcc3/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.7 2004/07/03 06:49:18 grant Exp $ +# $NetBSD: Makefile.common,v 1.8 2004/07/03 12:15:22 grant Exp $ GCC_VERSION= 3.3.4 DISTNAME= gcc-${GCC_VERSION} @@ -98,6 +98,13 @@ CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --disable-shared .endif +# gcc3 sub-packages must be built with gcc3. +.if defined(PKGNAME) && empty(PKGNAME:Mgcc3-c-[0-9]*) +ONLY_FOR_COMPILER+= gcc +PKGSRC_COMPILER:= gcc ${PKGSRC_COMPILER} +GCC_REQD+= ${GCC_VERSION} +.endif + .include "../../mk/compiler.mk" .if ${OPSYS} == "IRIX" |