Module Name: src
Committed By: matt
Date: Tue Nov 20 23:58:02 UTC 2012
Modified Files:
src/sys/rump [matt-nb6-plus]: Makefile.rump
Log Message:
Don't use ldscript unless HAVE_BINUTILS == 219
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.61.12.1 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.61 src/sys/rump/Makefile.rump:1.61.12.1
--- src/sys/rump/Makefile.rump:1.61 Tue May 10 00:33:58 2011
+++ src/sys/rump/Makefile.rump Tue Nov 20 23:58:02 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rump,v 1.61 2011/05/10 00:33:58 matt Exp $
+# $NetBSD: Makefile.rump,v 1.61.12.1 2012/11/20 23:58:02 matt Exp $
#
WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet
@@ -32,7 +32,9 @@ CPPFLAGS+= -I${RUMPTOP}/../../common/inc
CPPFLAGS+= -I${RUMPTOP}/include
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern/opt
CPPFLAGS+= -nostdinc -isystem ${RUMPTOP}/..
+.if ${HAVE_BINUTILS} == "219"
LDFLAGS+= -T ${RUMPTOP}/ldscript.rump
+.endif
#CPPFLAGS+= -DDEBUG
.ifdef RUMP_LOCKDEBUG