Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump Pass linker script with -Wl, -T to avoid clang incom...



details:   https://anonhg.NetBSD.org/src/rev/a3fe12cd215f
branches:  trunk
changeset: 782847:a3fe12cd215f
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Nov 22 21:21:21 2012 +0000

description:
Pass linker script with -Wl,-T to avoid clang incompating itself out
without flagging an error.

diffstat:

 sys/rump/Makefile.rump |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3d96ff5767fb -r a3fe12cd215f sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Thu Nov 22 21:20:44 2012 +0000
+++ b/sys/rump/Makefile.rump    Thu Nov 22 21:21:21 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.67 2012/11/21 17:53:10 pooka Exp $
+#      $NetBSD: Makefile.rump,v 1.68 2012/11/22 21:21:21 pooka Exp $
 #
 
 WARNS?=                3       # XXX: src/sys won't compile with -Wsign-compare yet
@@ -37,7 +37,7 @@
 CPPFLAGS+=     -I${RUMPTOP}/..
 .endif
 
-LDFLAGS+=      -T ${RUMPTOP}/ldscript.rump
+LDFLAGS+=      -Wl,-T ${RUMPTOP}/ldscript.rump
 
 RUMP_DIAGNOSTIC?=yes
 .if ${RUMP_DIAGNOSTIC} == "yes"



Home | Main Index | Thread Index | Old Index