diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-15 13:34:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-15 13:34:33 +0000 |
commit | f9efcd51485f9c01bff22b1b0997d1754fe785e2 (patch) | |
tree | 9d3b21de3c071723a585d256f02d6e0e91ec960a /mk/buildlink3 | |
parent | 08c84c1a2ddb3e889cf105cb2b713034c8952ffa (diff) | |
download | pkgsrc-f9efcd51485f9c01bff22b1b0997d1754fe785e2.tar.gz |
Create wrappers for the compilers for every language supported by the
compiler set. This will cause the libtool configuration found in several
packages to use the correct C++ compiler even though the package doesn't
use C++. This was causing bugs when CXXFLAGS contained flags not
understood by the system gcc-2.95.3.
Diffstat (limited to 'mk/buildlink3')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index c8d238f1d2b..eec6e817e5f 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.82 2004/02/12 08:28:58 jlam Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.83 2004/02/15 13:34:33 jlam Exp $ # # An example package buildlink3.mk file: # @@ -943,17 +943,11 @@ SUBST_SED.unbuildlink= ${_UNBUILDLINK_SED} # may be invoked. # _BLNK_WRAPPEES+= AS -.if !empty(USE_LANGUAGES:Mc) _BLNK_WRAPPEES+= CC _BLNK_WRAPPEES+= CPP -.endif -.if !empty(USE_LANGUAGES:Mc++) _BLNK_WRAPPEES+= CXX -.endif _BLNK_WRAPPEES+= LD -.if !empty(USE_LANGUAGES:Mfortran) || defined(USE_FORTRAN) _BLNK_WRAPPEES+= FC -.endif _BLNK_WRAPPEES+= LIBTOOL SHLIBTOOL .if defined(USE_LIBTOOL) _LIBTOOL= ${BUILDLINK_LIBTOOL} |