summaryrefslogtreecommitdiff
path: root/mk/compiler/sunpro.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/compiler/sunpro.mk')
-rw-r--r--mk/compiler/sunpro.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk
index e62ff6dcc83..ba67f68fab2 100644
--- a/mk/compiler/sunpro.mk
+++ b/mk/compiler/sunpro.mk
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro.mk,v 1.20 2004/02/18 13:32:38 jlam Exp $
+# $NetBSD: sunpro.mk,v 1.21 2004/08/27 06:29:09 jlam Exp $
.if !defined(COMPILER_SUNPRO_MK)
COMPILER_SUNPRO_MK= defined
@@ -32,7 +32,11 @@ PKG_CXX= ${_SUNPRO_CXX}
CXX= ${PKG_CXX:T}
.endif
-_COMPILER_LD_FLAG= # empty
+# SunPro passes rpath directives to the linker using "-R".
+_LINKER_RPATH_FLAG= -R
+
+# SunPro passes rpath directives to the linker using "-R".
+_COMPILER_RPATH_FLAG= -R
.if exists(${SUNWSPROBASE}/bin/cc)
CC_VERSION_STRING!= ${SUNWSPROBASE}/bin/cc -V 2>&1 || ${TRUE}