Module Name:    src
Committed By:   martin
Date:           Sat Mar 26 07:31:11 UTC 2016

Modified Files:
        src/lib/libc/compiler_rt: Makefile.inc

Log Message:
Make sure to define __SOFT_FP__ when building a SOFTFLOAT userland


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/compiler_rt/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/compiler_rt/Makefile.inc
diff -u src/lib/libc/compiler_rt/Makefile.inc:1.29 src/lib/libc/compiler_rt/Makefile.inc:1.30
--- src/lib/libc/compiler_rt/Makefile.inc:1.29	Mon Feb 29 14:57:07 2016
+++ src/lib/libc/compiler_rt/Makefile.inc	Sat Mar 26 07:31:11 2016
@@ -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 @@ COPTS.${src}+=	-Wno-missing-prototypes \
 		-Wno-cast-qual
 .    endif
 .  endif
+.if ${MKSOFTFLOAT:Uno} != "no"
+COPTS.${src}+=	-D__SOFT_FP__
+.endif
 .endfor

Reply via email to