Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/binutils For the tools build, always use the Bison-cre...
details: https://anonhg.NetBSD.org/src/rev/e5d8ed2126c5
branches: trunk
changeset: 793198:e5d8ed2126c5
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jan 29 23:35:13 2014 +0000
description:
For the tools build, always use the Bison-created m68 asm parser.
Fixes build on Linux, where the glibc guards trip up the
"must-be-included-first" check in config.h.
diffstat:
tools/binutils/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 964ba293f00f -r e5d8ed2126c5 tools/binutils/Makefile
--- a/tools/binutils/Makefile Wed Jan 29 23:16:14 2014 +0000
+++ b/tools/binutils/Makefile Wed Jan 29 23:35:13 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2012/04/15 08:37:32 mrg Exp $
+# $NetBSD: Makefile,v 1.23 2014/01/29 23:35:13 joerg Exp $
.include <bsd.own.mk>
@@ -16,6 +16,13 @@
--disable-werror \
${BRANDING}
+${.OBJDIR}/build/gas/m68k-parse.c: ${GNUHOSTDIST}/gas/m68k-parse.c
+ @mkdir build 2>/dev/null || true
+ @mkdir build/gas 2>/dev/null || true
+ cat ${GNUHOSTDIST}/gas/m68k-parse.c > ${.TARGET}
+
+.configure_done: ${.OBJDIR}/build/gas/m68k-parse.c
+
MAKE_ARGS= MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}
ALL_TARGET= all-binutils all-gas all-ld
Home |
Main Index |
Thread Index |
Old Index