Module Name:    src
Committed By:   pooka
Date:           Wed Mar 12 00:22:53 UTC 2014

Modified Files:
        src/sys/lib/libkern: Makefile.libkern

Log Message:
Do not include compiler-rt in librump.  librump is not a toolchain support
library, and toolchain support belongs in the host libc or libgcc or
equivalent entity that is actually supposed to complement the toolchain.

Fixes librump build on (a) Linux ARM (collisions with libgcc)


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/lib/libkern/Makefile.libkern

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/Makefile.libkern
diff -u src/sys/lib/libkern/Makefile.libkern:1.31 src/sys/lib/libkern/Makefile.libkern:1.32
--- src/sys/lib/libkern/Makefile.libkern:1.31	Wed Jan 29 23:37:18 2014
+++ src/sys/lib/libkern/Makefile.libkern	Wed Mar 12 00:22:53 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.libkern,v 1.31 2014/01/29 23:37:18 joerg Exp $
+#	$NetBSD: Makefile.libkern,v 1.32 2014/03/12 00:22:53 pooka Exp $
 
 # 
 # Variable definitions for libkern.  
@@ -43,7 +43,9 @@ CPPFLAGS+=	-I${KERNDIR}/../../../common/
 .include "$M/Makefile.inc"
 .endif
 
+.if !defined(RUMPKERNEL)
 .include ".${PARSEDIR}/Makefile.compiler-rt"
+.endif
 
 # Other stuff
 SRCS+=	kern_assert.c __main.c

Reply via email to