Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include avoid linker warnings with the new ...



details:   https://anonhg.NetBSD.org/src/rev/c6e820501e64
branches:  trunk
changeset: 770633:c6e820501e64
user:      chs <chs%NetBSD.org@localhost>
date:      Wed Oct 26 15:57:26 2011 +0000

description:
avoid linker warnings with the new binutils by not forcing rump modules
to be soft-float.

diffstat:

 sys/arch/powerpc/include/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 392030af84b7 -r c6e820501e64 sys/arch/powerpc/include/Makefile.inc
--- a/sys/arch/powerpc/include/Makefile.inc     Wed Oct 26 15:56:58 2011 +0000
+++ b/sys/arch/powerpc/include/Makefile.inc     Wed Oct 26 15:57:26 2011 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.1 2002/12/19 19:36:26 thorpej Exp $
+# $NetBSD: Makefile.inc,v 1.2 2011/10/26 15:57:26 chs Exp $
 
 .if !defined(_POWERPC_MAKEFILE_INC)
 _POWERPC_MAKEFILE_INC= yes
 
+.if !defined(RUMPKERNEL)
 CFLAGS+= -msoft-float
+.endif
 
 .endif



Home | Main Index | Thread Index | Old Index