summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-22 12:13:35 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-22 12:13:35 +0000
commitd6391926fe27538e7ad6b23637342554ef98da19 (patch)
treec5cedc5830dd6c5b36a06283cc0dfb3bf0a0011b /mk/compiler
parentc35a0453baa9d16026368e8ad713cc91e2fab1a4 (diff)
downloadpkgsrc-d6391926fe27538e7ad6b23637342554ef98da19.tar.gz
Use -R as LINKER_RPATH_FLAG like GCC. The patches for lang/gcc47 and
lang/gcc48 don't work otherwise.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/clang.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/clang.mk b/mk/compiler/clang.mk
index d3190533d61..08770274393 100644
--- a/mk/compiler/clang.mk
+++ b/mk/compiler/clang.mk
@@ -1,4 +1,4 @@
-# $NetBSD: clang.mk,v 1.10 2013/05/09 23:37:26 riastradh Exp $
+# $NetBSD: clang.mk,v 1.11 2013/05/22 12:13:35 joerg Exp $
#
# This is the compiler definition for the clang compiler.
#
@@ -50,7 +50,7 @@ CC_VERSION?= clang
_COMPILER_ABI_FLAG.32= -m32
_COMPILER_ABI_FLAG.64= -m64
_COMPILER_LD_FLAG= -Wl,
-_LINKER_RPATH_FLAG= -rpath
+_LINKER_RPATH_FLAG= -R
_COMPILER_RPATH_FLAG= ${_COMPILER_LD_FLAG}${_LINKER_RPATH_FLAG},
# _LANGUAGES.<compiler> is ${LANGUAGES.<compiler>} restricted to the