diff options
author | rillig <rillig@pkgsrc.org> | 2007-03-09 10:58:20 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-03-09 10:58:20 +0000 |
commit | 922a42c129845105a55ffa78175dcde33be0094c (patch) | |
tree | 4c369a87e4fcd015faf1ae5d8c342f55180f52f4 /mk/compiler | |
parent | eefa2f5730fb37978395cc0de06a808341e319fa (diff) | |
download | pkgsrc-922a42c129845105a55ffa78175dcde33be0094c.tar.gz |
Removed unused variables. Note that _ALIASES.* could only be removed
because all the alias names are covered by _WRAP_ALIASES.*.
Slowly this file becomes as short and simple as it should have always
been.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/sunpro.mk | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk index 4d725a68d25..48031831d95 100644 --- a/mk/compiler/sunpro.mk +++ b/mk/compiler/sunpro.mk @@ -1,4 +1,4 @@ -# $NetBSD: sunpro.mk,v 1.39 2007/03/09 10:29:29 rillig Exp $ +# $NetBSD: sunpro.mk,v 1.40 2007/03/09 10:58:20 rillig Exp $ # # This is the compiler definition for the SUNWspro C compiler. # @@ -19,9 +19,6 @@ SUNWSPROBASE?= /opt/SUNWspro _COMPILER_TYPE.c= CC _COMPILER_TYPE.c++ = CXX _COMPILER_TYPE.fortran= FC -_ALIASES.c= cc gcc -_ALIASES.c++ = CC g++ c++ -_ALIASES.fortran= f77 g77 # sunpro-specific definitions _COMPILER_LANGS= c c++ fortran @@ -34,23 +31,18 @@ _COMPILER_NAME.fortran= f77 # LANGUAGES.sunpro= # empty -_SUNPRO_VARS= # empty - .for l in ${_COMPILER_LANGS} . for t in ${_COMPILER_TYPE.${l}} . for n in ${_COMPILER_NAME.${l}} . if exists(${SUNWSPROBASE}/bin/${n}) LANGUAGES.sunpro+= ${l} -_SUNPRO_VARS+= ${t} -_ALIASES.${t}= ${ALIASES.${l}} -_SUNPRO_${t}= ${SUNWSPROBASE}/bin/${n} +_COMPILER_STRIP_VARS+= ${t} ${t}PATH= ${SUNWSPROBASE}/bin/${n} PKG_${t}:= ${SUNWSPROBASE}/bin/${n} . endif . endfor . endfor .endfor -_COMPILER_STRIP_VARS+= ${_SUNPRO_VARS} # The Solaris linker uses "-R" for rpath directives. _LINKER_RPATH_FLAG= -R |