diff options
author | jlam <jlam> | 2004-02-15 13:34:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-15 13:34:33 +0000 |
commit | cee780f4bdc0665354ab4b154a4043bba2214885 (patch) | |
tree | 9d3b21de3c071723a585d256f02d6e0e91ec960a /mk/buildlink2 | |
parent | b2af962d9b20a185fcff7271ac87267b44719e5a (diff) | |
download | pkgsrc-cee780f4bdc0665354ab4b154a4043bba2214885.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/buildlink2')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index 5a62195e58c..9222cb9858b 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.115 2004/02/09 03:05:59 jlam Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.116 2004/02/15 13:34:33 jlam Exp $ # # An example package buildlink2.mk file: # @@ -468,17 +468,11 @@ BUILDLINK_FAKE_LA= \ # 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} |