diff options
author | rillig <rillig@pkgsrc.org> | 2007-03-15 22:33:42 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-03-15 22:33:42 +0000 |
commit | 34cbf0da3728a93f10e75e72d512dde81304005b (patch) | |
tree | 40c317a2578c12fda4b33435b86ec871fb7c186f /mk | |
parent | 4ded7e04c4a746102274d456987c918fdaff3d88 (diff) | |
download | pkgsrc-34cbf0da3728a93f10e75e72d512dde81304005b.tar.gz |
_COMPILER_LD_FLAG is only used in this file, and no other compiler file
defines this variable, so it doesn't hurt to remove it.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/ccc.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mk/compiler/ccc.mk b/mk/compiler/ccc.mk index 9f94cdc92c2..6e514fcc8e5 100644 --- a/mk/compiler/ccc.mk +++ b/mk/compiler/ccc.mk @@ -1,4 +1,4 @@ -# $NetBSD: ccc.mk,v 1.15 2006/12/15 12:46:24 martti Exp $ +# $NetBSD: ccc.mk,v 1.16 2007/03/15 22:33:42 rillig Exp $ # # This is the compiler definition for the Compaq C Compilers. # @@ -41,14 +41,11 @@ CC_VERSION_STRING?= ${CC_VERSION} CC_VERSION?= CCC .endif -# CCC passes flags to the linker using "-Wl,". -_COMPILER_LD_FLAG= -Wl, - # CCC passes rpath directives to the linker using "-rpath". _LINKER_RPATH_FLAG= -rpath # CCC passes rpath directives to the linker using "-rpath" tailing ",". -_COMPILER_RPATH_FLAG= ${_COMPILER_LD_FLAG}${_LINKER_RPATH_FLAG}, +_COMPILER_RPATH_FLAG= -Wl,${_LINKER_RPATH_FLAG}, # Most packages assume ieee floats, make that the default. CFLAGS+= -ieee |