Module Name: src
Committed By: pooka
Date: Sat Apr 27 12:51:45 UTC 2013
Modified Files:
src/sys/rump: Makefile.rump
Log Message:
Allow to completely skip the ldscript, useful for linkers that don't need one.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/rump/Makefile.rump
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/Makefile.rump
diff -u src/sys/rump/Makefile.rump:1.78 src/sys/rump/Makefile.rump:1.79
--- src/sys/rump/Makefile.rump:1.78 Sun Mar 17 01:13:00 2013
+++ src/sys/rump/Makefile.rump Sat Apr 27 12:51:45 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rump,v 1.78 2013/03/17 01:13:00 christos Exp $
+# $NetBSD: Makefile.rump,v 1.79 2013/04/27 12:51:45 pooka Exp $
#
WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet
@@ -37,6 +37,8 @@ CPPFLAGS+= -I${RUMPTOP}/../arch
CPPFLAGS+= -I${RUMPTOP}/..
.endif
+RUMP_LDSCRIPT?=yes
+.if ${RUMP_LDSCRIPT} != "no"
# my ld or yours?
.ifdef HAVE_SUN_LD
LDFLAGS+= -Wl,-M ${RUMPTOP}/ldscript_sun.rump
@@ -45,6 +47,7 @@ SRCS+= linksyms_sun.c
.else
LDFLAGS+= -Wl,-T ${RUMPTOP}/ldscript.rump
.endif
+.endif
RUMP_DIAGNOSTIC?=yes
.if ${RUMP_DIAGNOSTIC} == "yes"