diff options
author | salo <salo@pkgsrc.org> | 2003-07-09 08:25:04 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-07-09 08:25:04 +0000 |
commit | 0eb8222777e2f040bd0bd735f0552e37a6ba159d (patch) | |
tree | d287c4c298638c2ffc0778ddaac157ffbaab1ff1 /mk/gcc.buildlink2.mk | |
parent | bf262a9684106c39f9eb92bc40570ec77c078c7e (diff) | |
download | pkgsrc-0eb8222777e2f040bd0bd735f0552e37a6ba159d.tar.gz |
Don't insist on using/compiling GCC if different compiler is in use.
Diffstat (limited to 'mk/gcc.buildlink2.mk')
-rw-r--r-- | mk/gcc.buildlink2.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/gcc.buildlink2.mk b/mk/gcc.buildlink2.mk index 51ecbd1f61c..6cb7a134a44 100644 --- a/mk/gcc.buildlink2.mk +++ b/mk/gcc.buildlink2.mk @@ -1,5 +1,7 @@ -# $NetBSD: gcc.buildlink2.mk,v 1.1 2003/05/27 07:01:57 grant Exp $ +# $NetBSD: gcc.buildlink2.mk,v 1.2 2003/07/09 08:25:04 salo Exp $ # +# USE_GCC2 +# If defined, use gcc from lang/gcc (default). # USE_GCC3 # If defined, use gcc3 from lang/gcc3. # @@ -11,7 +13,7 @@ GCC_BUILDLINK2_MK= # defined .if defined(USE_GCC3) . include "../lang/gcc3/buildlink2.mk" -.else +.elif defined(USE_GCC2) . include "../lang/gcc/buildlink2.mk" .endif |