Module Name: src Committed By: joerg Date: Wed Jan 15 21:12:57 UTC 2014
Modified Files: src/sys/lib/libkern: Makefile.libkern Log Message: For HAVE_LIBGCC=no, use compiler-rt for quad support. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 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.29 src/sys/lib/libkern/Makefile.libkern:1.30 --- src/sys/lib/libkern/Makefile.libkern:1.29 Fri Dec 27 20:25:33 2013 +++ src/sys/lib/libkern/Makefile.libkern Wed Jan 15 21:12:57 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.libkern,v 1.29 2013/12/27 20:25:33 christos Exp $ +# $NetBSD: Makefile.libkern,v 1.30 2014/01/15 21:12:57 joerg Exp $ # # Variable definitions for libkern. @@ -43,6 +43,9 @@ CPPFLAGS+= -I${KERNDIR}/../../../common/ .include "$M/Makefile.inc" .endif +.if ${HAVE_LIBGCC} == "no" +.include ".${PARSEDIR}/Makefile.compiler-rt" +.else .if (${MACHINE_ARCH} != "alpha") && \ (${MACHINE_ARCH} != "mips64eb" || !empty(CFLAGS:M-mabi=32)) && \ (${MACHINE_ARCH} != "mips64el" || !empty(CFLAGS:M-mabi=32)) && \ @@ -54,6 +57,7 @@ SRCS+= adddi3.c anddi3.c ashldi3.c ashrd lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \ subdi3.c ucmpdi2.c udivdi3.c umoddi3.c xordi3.c .endif +.endif # Other stuff SRCS+= kern_assert.c __main.c