Module Name: src
Committed By: christos
Date: Thu Nov 8 02:08:35 UTC 2018
Modified Files:
src/tools/binutils: mknative-binutils
Log Message:
need global replace
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tools/binutils/mknative-binutils
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/binutils/mknative-binutils
diff -u src/tools/binutils/mknative-binutils:1.10 src/tools/binutils/mknative-binutils:1.11
--- src/tools/binutils/mknative-binutils:1.10 Tue Nov 6 20:14:19 2018
+++ src/tools/binutils/mknative-binutils Wed Nov 7 21:08:35 2018
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mknative-binutils,v 1.10 2018/11/07 01:14:19 christos Exp $
+# $NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of src/external/gpl3/binutils
@@ -96,7 +96,7 @@ get_binutils () {
DEFS INCLUDES as_new_OBJECTS as_new_LDADD |
sed -e s/G_as_new_OBJECTS/G_OBJS/ \
-e s/G_as_new_LDADD=/G_OBJS+=/ \
- -e s@config/@@ \
+ -e s@config/@@g \
-e 's/\.\..*a//' |
write_mk external/gpl3/binutils/usr.bin/gas/arch/$MACHINE_ARCH/defs.mk