Module Name: src Committed By: matt Date: Fri Jun 10 16:31:18 UTC 2011
Modified Files: src/tools/gcc: Makefile Log Message: If building the cross gcc for softfloat, add --with-float=soft so it will default to it. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/tools/gcc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tools/gcc/Makefile diff -u src/tools/gcc/Makefile:1.35 src/tools/gcc/Makefile:1.36 --- src/tools/gcc/Makefile:1.35 Thu Mar 24 13:33:42 2011 +++ src/tools/gcc/Makefile Fri Jun 10 16:31:18 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2011/03/24 13:33:42 joerg Exp $ +# $NetBSD: Makefile,v 1.36 2011/06/10 16:31:18 matt Exp $ .include <bsd.own.mk> @@ -16,6 +16,10 @@ MULTILIB_ARGS= --disable-multilib .endif +.if ${MKSOFTFLOAT} != "no" +SOFTFLOAT_ARGS= -with-float=soft +.endif + COMMON_CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} \ --enable-long-long \ --enable-threads \ @@ -31,6 +35,7 @@ CONFIGURE_ARGS= ${COMMON_CONFIGURE_ARGS} \ --disable-nls \ ${MULTILIB_ARGS} \ + ${SOFTFLOAT_ARGS} \ --program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \ --enable-languages="${GCC_LANGUAGES}"