Module Name: src Committed By: mrg Date: Fri Jul 8 09:34:51 UTC 2011
Modified Files: src/sys/arch/sun3/conf: Makefile.sun3 Log Message: don't use -msoft-float for GCC 4.5. -msoft-float passes down -mno-float to the assembler, which barfs, and i can't see any way to disable it just for sun3/fpu.c. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/arch/sun3/conf/Makefile.sun3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sun3/conf/Makefile.sun3 diff -u src/sys/arch/sun3/conf/Makefile.sun3:1.101 src/sys/arch/sun3/conf/Makefile.sun3:1.102 --- src/sys/arch/sun3/conf/Makefile.sun3:1.101 Fri Jan 21 15:59:09 2011 +++ src/sys/arch/sun3/conf/Makefile.sun3 Fri Jul 8 09:34:51 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.sun3,v 1.101 2011/01/21 15:59:09 joerg Exp $ +# $NetBSD: Makefile.sun3,v 1.102 2011/07/08 09:34:51 mrg Exp $ # Makefile for NetBSD # @@ -32,7 +32,10 @@ ## (2) compile settings ## CPPFLAGS+= -Dsun3 -CFLAGS+= ${CMACHFLAGS} -msoft-float -fno-defer-pop +CFLAGS+= ${CMACHFLAGS} -fno-defer-pop +.if defined(HAVE_GCC) ${HAVE_GCC} == 45 +CFLAGS+= -msoft-float +.endif AFLAGS+= -x assembler-with-cpp ##