Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/gcc If building the cross gcc for softfloat, add --wit...
details: https://anonhg.NetBSD.org/src/rev/6108d294bdd3
branches: trunk
changeset: 765927:6108d294bdd3
user: matt <matt%NetBSD.org@localhost>
date: Fri Jun 10 16:31:18 2011 +0000
description:
If building the cross gcc for softfloat, add --with-float=soft so it will
default to it.
diffstat:
tools/gcc/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 03b91f7690f0 -r 6108d294bdd3 tools/gcc/Makefile
--- a/tools/gcc/Makefile Fri Jun 10 15:52:44 2011 +0000
+++ b/tools/gcc/Makefile Fri Jun 10 16:31:18 2011 +0000
@@ -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}"
Home |
Main Index |
Thread Index |
Old Index