Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/compiler_rt Make sure to define __SOFT_FP__ when bu...



details:   https://anonhg.NetBSD.org/src/rev/a2e1a6647deb
branches:  trunk
changeset: 344384:a2e1a6647deb
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Mar 26 07:31:11 2016 +0000

description:
Make sure to define __SOFT_FP__ when building a SOFTFLOAT userland

diffstat:

 lib/libc/compiler_rt/Makefile.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ad380f1fbd21 -r a2e1a6647deb lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Sat Mar 26 07:21:11 2016 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Sat Mar 26 07:31:11 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.29 2016/02/29 14:57:07 adam Exp $
+# $NetBSD: Makefile.inc,v 1.30 2016/03/26 07:31:11 martin Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -270,4 +270,7 @@
                -Wno-cast-qual
 .    endif
 .  endif
+.if ${MKSOFTFLOAT:Uno} != "no"
+COPTS.${src}+= -D__SOFT_FP__
+.endif
 .endfor



Home | Main Index | Thread Index | Old Index