aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.am
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-08-08 00:27:15 +0000
committerAlan Modra <amodra@gmail.com>2011-08-08 00:27:15 +0000
commit066a66625f57511b9240cf37f8ab61e26d9f394c (patch)
treef9e6f3b43346068a223764675fe6352f714a6e1d /binutils/Makefile.am
parente521492eb551740d71fbf47439d3ba3483d79dd1 (diff)
downloadgdb-066a66625f57511b9240cf37f8ab61e26d9f394c.zip
gdb-066a66625f57511b9240cf37f8ab61e26d9f394c.tar.gz
gdb-066a66625f57511b9240cf37f8ab61e26d9f394c.tar.bz2
PR binutils/12964
* Makefile.am (embedspu): Use awk rather than sed. * Makefile.in: Regenerate.
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r--binutils/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 76fc50a..bbe58e2 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -288,7 +288,7 @@ bin2c$(EXEEXT_FOR_BUILD): bin2c.c
$(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c
embedspu: embedspu.sh Makefile
- sed "/^program_transform_name=/cprogram_transform_name=$(program_transform_name)" < $< > $@
+ awk '/^program_transform_name=/ {print "program_transform_name=\"$(program_transform_name)\""; next} {print}' < $< > $@
chmod a+x $@
# We need these for parallel make.