diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e26bb64c61..4cdbbbe796 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2011-08-08 Marcus Comstedt + + PR binutils/12964 + * Makefile.am (embedspu): Use awk rather than sed. + * Makefile.in: Regenerate. + 2011-07-27 Jan Kratochvil * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 76fc50a1a0..bbe58e2132 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. diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 1f119d8886..9f10781d58 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -1302,7 +1302,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.