diff options
author | jschauma <jschauma> | 2004-05-06 14:25:02 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2004-05-06 14:25:02 +0000 |
commit | fd08bea494e6223dfe6bf5ee717627dd5042f3a4 (patch) | |
tree | ac2ddfe3e22c76d99082b6b0570bdb27ce3a6fd1 /mk | |
parent | 5c1196dddb9e5c3e1e29a7438080ae4efa94d8e6 (diff) | |
download | pkgsrc-fd08bea494e6223dfe6bf5ee717627dd5042f3a4.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 |