Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Use the quad support from compiler-rt for MKLIBGCC=no.



details:   https://anonhg.NetBSD.org/src/rev/4631d06e719b
branches:  trunk
changeset: 326004:4631d06e719b
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Jan 15 20:58:09 2014 +0000

description:
Use the quad support from compiler-rt for MKLIBGCC=no.

diffstat:

 common/lib/libc/Makefile.inc |  7 +++++--
 lib/libc/Makefile            |  4 ++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 20cfe5bb7fb4 -r 4631d06e719b common/lib/libc/Makefile.inc
--- a/common/lib/libc/Makefile.inc      Wed Jan 15 20:53:00 2014 +0000
+++ b/common/lib/libc/Makefile.inc      Wed Jan 15 20:58:09 2014 +0000
@@ -1,8 +1,11 @@
-# $NetBSD: Makefile.inc,v 1.12 2012/07/08 01:21:12 rmind Exp $
+# $NetBSD: Makefile.inc,v 1.13 2014/01/15 20:58:09 joerg Exp $
 
 COMMON_DIR:=${.PARSEDIR}
-COMMON_CODEDIRS=atomic gen gmon inet md net quad stdlib string sys
+COMMON_CODEDIRS=atomic gen gmon inet md net stdlib string sys
 COMMON_CODEDIRS+=hash/sha1 hash/sha2 hash/rmd160 hash/murmurhash
+.if ${HAVE_LIBGCC} != "no"
+COMMON_CODEDIRS+=quad
+.endif
 
 .if defined(COMMON_MACHINE_ARCH) && !empty(COMMON_MACHINE_ARCH) && \
     exists(${COMMON_DIR}/arch/${COMMON_MACHINE_ARCH})
diff -r 20cfe5bb7fb4 -r 4631d06e719b lib/libc/Makefile
--- a/lib/libc/Makefile Wed Jan 15 20:53:00 2014 +0000
+++ b/lib/libc/Makefile Wed Jan 15 20:58:09 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.160 2013/10/14 16:00:17 joerg Exp $
+#      $NetBSD: Makefile,v 1.161 2014/01/15 20:58:09 joerg Exp $
 #      @(#)Makefile    8.2 (Berkeley) 2/3/94
 #
 # All library objects contain sccsid strings by default; they may be
@@ -80,7 +80,7 @@
 .include "${.CURDIR}/net/Makefile.inc"
 .include "${.CURDIR}/nameser/Makefile.inc"
 .include "${.CURDIR}/nls/Makefile.inc"
-.if (${MACHINE_ARCH} != "alpha") && (${ARCHSUBDIR} != "sparc64")
+.if ${HAVE_LIBGCC} != "no" && ${MACHINE_ARCH} != "alpha" && ${ARCHSUBDIR} != "sparc64"
 .include "${.CURDIR}/quad/Makefile.inc"
 .endif
 .if (${USE_LIBTRE} == "yes")



Home | Main Index | Thread Index | Old Index