Source-Changes-HG archive

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

[src/trunk]: src/gnu/lib/libgcc Need -msoft-quad-float on sparc64 as double->...



details:   https://anonhg.NetBSD.org/src/rev/4165cc3a5eac
branches:  trunk
changeset: 518571:4165cc3a5eac
user:      jmc <jmc%NetBSD.org@localhost>
date:      Sun Dec 02 03:06:55 2001 +0000

description:
Need -msoft-quad-float on sparc64 as double->int promote to quad math.

diffstat:

 gnu/lib/libgcc/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 7499b3f7e1d2 -r 4165cc3a5eac gnu/lib/libgcc/Makefile
--- a/gnu/lib/libgcc/Makefile   Sun Dec 02 03:03:12 2001 +0000
+++ b/gnu/lib/libgcc/Makefile   Sun Dec 02 03:06:55 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2001/11/28 14:29:13 tv Exp $
+#      $NetBSD: Makefile,v 1.29 2001/12/02 03:06:55 jmc Exp $
 
 REQUIRETOOLS=  yes
 
@@ -21,6 +21,10 @@
 CPPFLAGS+=     -I${GCCARCH} ${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*} \
                -I${DIST}/gcc/cp
 
+.if (${MACHINE_ARCH} == "sparc64")
+CFLAGS+=        -msoft-quad-float
+.endif
+
 LIB2FUNCS=     ${G_LIB2FUNCS:=.c} ${G_LIB2FUNCS_EH:=.c}
 CXX_LIB2FUNCS= ${G_CXX_LIB2FUNCS:Mop*:S/opdel.o/opdelete.o/:.o=.cc}
 



Home | Main Index | Thread Index | Old Index