aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2018-12-29 23:22:50 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2018-12-29 23:22:50 +0000
commit4b420b27d3da457431be40ebf10b83dc8571ceb7 (patch)
treea5a9cb9db04aa35e85f4950713f5f3cf6e76020e
parent0402d00e34836b44511ea48cd5f5acad2efb0f6e (diff)
downloadgcc-4b420b27d3da457431be40ebf10b83dc8571ceb7.zip
gcc-4b420b27d3da457431be40ebf10b83dc8571ceb7.tar.gz
gcc-4b420b27d3da457431be40ebf10b83dc8571ceb7.tar.bz2
Makefile.am (xcoff_%.c): Use an actual newline instead of \n in sed pattern.
* Makefile.am (xcoff_%.c): Use an actual newline instead of \n in sed pattern. * Makefile.in: Regenerate. From-SVN: r267470
-rw-r--r--libbacktrace/ChangeLog6
-rw-r--r--libbacktrace/Makefile.am3
-rw-r--r--libbacktrace/Makefile.in3
3 files changed, 10 insertions, 2 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index c8ddf43..a7d5532 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,9 @@
+2018-12-29 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * Makefile.am (xcoff_%.c): Use an actual newline instead of \n
+ in sed pattern.
+ * Makefile.in: Regenerate.
+
2018-12-28 Tom de Vries <tdevries@suse.de>
* dwarf.c (build_address_map): Reuse unused units.
diff --git a/libbacktrace/Makefile.am b/libbacktrace/Makefile.am
index 9d489f7..dd2744d 100644
--- a/libbacktrace/Makefile.am
+++ b/libbacktrace/Makefile.am
@@ -105,7 +105,8 @@ libbacktrace_noformat_la_DEPENDENCIES = $(libbacktrace_noformat_la_LIBADD)
xcoff_%.c: xcoff.c
SEARCH='#error "Unknown BACKTRACE_XCOFF_SIZE"'; \
- REPLACE='#undef BACKTRACE_XCOFF_SIZE\n#define BACKTRACE_XCOFF_SIZE'; \
+ REPLACE='#undef BACKTRACE_XCOFF_SIZE\
+ #define BACKTRACE_XCOFF_SIZE'; \
$(SED) "s/^$$SEARCH\$$/$$REPLACE $*/" \
$(srcdir)/xcoff.c \
> $@
diff --git a/libbacktrace/Makefile.in b/libbacktrace/Makefile.in
index 7b18b98..c595a8b 100644
--- a/libbacktrace/Makefile.in
+++ b/libbacktrace/Makefile.in
@@ -1733,7 +1733,8 @@ uninstall-am:
@NATIVE_TRUE@xcoff_%.c: xcoff.c
@NATIVE_TRUE@ SEARCH='#error "Unknown BACKTRACE_XCOFF_SIZE"'; \
-@NATIVE_TRUE@ REPLACE='#undef BACKTRACE_XCOFF_SIZE\n#define BACKTRACE_XCOFF_SIZE'; \
+@NATIVE_TRUE@ REPLACE='#undef BACKTRACE_XCOFF_SIZE\
+@NATIVE_TRUE@ #define BACKTRACE_XCOFF_SIZE'; \
@NATIVE_TRUE@ $(SED) "s/^$$SEARCH\$$/$$REPLACE $*/" \
@NATIVE_TRUE@ $(srcdir)/xcoff.c \
@NATIVE_TRUE@ > $@