diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-05-06 14:25:02 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-05-06 14:25:02 +0000 |
commit | 301a34eb7e397525b9b6424dbbcf7a7e1bef3529 (patch) | |
tree | ac2ddfe3e22c76d99082b6b0570bdb27ce3a6fd1 /mk | |
parent | d532686d16ff4b8889f85855903a5f78086934df (diff) | |
download | pkgsrc-301a34eb7e397525b9b6424dbbcf7a7e1bef3529.tar.gz |
Finally set _COMPILER_LD_FLAG.
(Not having this set caused various rpath related problems, as the compiler
was passed ' -rpath,/path' instead of '-Wl,-rpath,/path', leading to
a rpath of ",path", which of course wouldn't work.)
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/mipspro.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/compiler/mipspro.mk b/mk/compiler/mipspro.mk index a37aaa463a8..edb060e5afd 100644 --- a/mk/compiler/mipspro.mk +++ b/mk/compiler/mipspro.mk @@ -1,4 +1,4 @@ -# $NetBSD: mipspro.mk,v 1.22 2004/02/18 13:32:38 jlam Exp $ +# $NetBSD: mipspro.mk,v 1.23 2004/05/06 14:25:02 jschauma Exp $ .if !defined(COMPILER_MIPSPRO_MK) COMPILER_MIPSPRO_MK= defined @@ -41,6 +41,9 @@ CC_VERSION_STRING?= ${CC_VERSION} CC_VERSION?= MIPSpro Compilers .endif +# MIPSPro passes flags to the linker using "-Wl,". +_COMPILER_LD_FLAG= -Wl, + # Prepend the path to the compiler to the PATH. .if !empty(_LANGUAGES.mipspro) PREPEND_PATH+= ${_MIPSPRO_DIR}/bin |