Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libgcc don't build the ditf files on x...



details:   https://anonhg.NetBSD.org/src/rev/be7b4c95115c
branches:  trunk
changeset: 996402:be7b4c95115c
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jan 31 06:47:21 2019 +0000

description:
don't build the ditf files on x86 anymore.  they come from soft-fp now.

diffstat:

 external/gpl3/gcc/lib/libgcc/Makefile.inc |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r fb859dc71b75 -r be7b4c95115c external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Thu Jan 31 06:46:16 2019 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Thu Jan 31 06:47:21 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.38 2019/01/19 17:11:02 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.39 2019/01/31 06:47:21 mrg Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -72,15 +72,21 @@
     empty(LIBGCC_MACHINE_ARCH:Maarch64*) && \
     empty(LIBGCC_MACHINE_ARCH:Mmips64*)
 
+EXTRA_FUNC_SIZES=      sf df xf
+
+.if ${LIBGCC_MACHINE_ARCH} != "x86_64" && ${LIBGCC_MACHINE_ARCH} != "i386"
+EXTRA_FUNC_SIZES+=     tf
+.endif
+
 # non swfloat versions 
 .for _p in _fix _fixuns
-. for _m in sf df xf tf
+. for _m in ${EXTRA_FUNC_SIZES}
 LIB2FUNCS_ALL+=        ${_p}${_m}di
 . endfor
 .endfor
 
 .for _p in _float _floatun
-. for _m in sf df xf tf
+. for _m in ${EXTRA_FUNC_SIZES}
 LIB2FUNCS_ALL+=        ${_p}di${_m}
 . endfor
 .endfor



Home | Main Index | Thread Index | Old Index