summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-15 22:33:42 +0000
committerrillig <rillig>2007-03-15 22:33:42 +0000
commit8af79ac988b19a377dad7201a154f38787ce535a (patch)
tree40c317a2578c12fda4b33435b86ec871fb7c186f /mk/compiler
parentd847fa09eafb382068a843a57c2d5dd00d8dfd22 (diff)
downloadpkgsrc-8af79ac988b19a377dad7201a154f38787ce535a.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')
-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