summaryrefslogtreecommitdiff
path: root/mk/compiler/ccc.mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-15 22:33:42 +0000
committerrillig <rillig>2007-03-15 22:33:42 +0000
commit8fb9d1b3ee1e248190beead6abb2b4148c1da199 (patch)
tree40c317a2578c12fda4b33435b86ec871fb7c186f /mk/compiler/ccc.mk
parent5d1f02811890f06a0e3f731925cab636b1163a9e (diff)
downloadpkgsrc-8fb9d1b3ee1e248190beead6abb2b4148c1da199.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/compiler/ccc.mk')
-rw-r--r--mk/compiler/ccc.mk7
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