pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler Finally set _COMPILER_LD_FLAG.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ede3a0167c3d
branches: trunk
changeset: 474860:ede3a0167c3d
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Thu May 06 14:25:02 2004 +0000
description:
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:
mk/compiler/mipspro.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r fc8b32c6e9be -r ede3a0167c3d mk/compiler/mipspro.mk
--- a/mk/compiler/mipspro.mk Thu May 06 14:00:27 2004 +0000
+++ b/mk/compiler/mipspro.mk Thu May 06 14:25:02 2004 +0000
@@ -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?= 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
Home |
Main Index |
Thread Index |
Old Index