Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern For HAVE_LIBGCC=no, use compiler-rt for quad...
details: https://anonhg.NetBSD.org/src/rev/df323551b369
branches: trunk
changeset: 326008:df323551b369
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jan 15 21:12:57 2014 +0000
description:
For HAVE_LIBGCC=no, use compiler-rt for quad support.
diffstat:
sys/lib/libkern/Makefile.libkern | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r dabd749f34a7 -r df323551b369 sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern Wed Jan 15 21:07:19 2014 +0000
+++ b/sys/lib/libkern/Makefile.libkern Wed Jan 15 21:12:57 2014 +0000
@@ -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 @@
.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 @@
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
Home |
Main Index |
Thread Index |
Old Index