From b02a7b431aa9e1065d8eb0a0283398029d169f96 Mon Sep 17 00:00:00 2001 From: jschauma Date: Thu, 6 May 2004 14:25:02 +0000 Subject: 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.) --- mk/compiler/mipspro.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3