diff options
author | grant <grant@pkgsrc.org> | 2003-05-27 07:01:56 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-05-27 07:01:56 +0000 |
commit | 5776b4fd7501251cfd655d28b5665437c668599c (patch) | |
tree | 08e7e8cfa2f253ccd1a9b0ab113537aa4b92187d /mk | |
parent | cbe64e803d0a2f4ca285bcd96d74d02ff431d8e6 (diff) | |
download | pkgsrc-5776b4fd7501251cfd655d28b5665437c668599c.tar.gz |
add pulling in buildlink includes/libraries from lang/gcc, or gcc3
when USE_GCC3 is defined.
ok'd by jlam@.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/gcc.buildlink2.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mk/gcc.buildlink2.mk b/mk/gcc.buildlink2.mk new file mode 100644 index 00000000000..51ecbd1f61c --- /dev/null +++ b/mk/gcc.buildlink2.mk @@ -0,0 +1,18 @@ +# $NetBSD: gcc.buildlink2.mk,v 1.1 2003/05/27 07:01:57 grant Exp $ +# +# USE_GCC3 +# If defined, use gcc3 from lang/gcc3. +# + +.if !defined(GCC_BUILDLINK2_MK) +GCC_BUILDLINK2_MK= # defined + +.include "../../mk/bsd.prefs.mk" + +.if defined(USE_GCC3) +. include "../lang/gcc3/buildlink2.mk" +.else +. include "../lang/gcc/buildlink2.mk" +.endif + +.endif # GCC_BUILDLINK2_MK |