aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2018-12-29 23:22:50 +0000
committerGerald Pfeifer <gerald@pfeifer.com>2018-12-29 23:22:50 +0000
commit172310cc630cf1c225ef35973dc813ece99a3ed3 (patch)
treea5a9cb9db04aa35e85f4950713f5f3cf6e76020e /libbacktrace
parent8a1dbf7676062873c7122d967a250b9f605beedb (diff)
* Makefile.am (xcoff_%.c): Use an actual newline instead of \n
in sed pattern. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@267470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace')
-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 c8ddf43c71f..a7d55328b68 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 9d489f7b418..dd2744dad3f 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 7b18b9834e0..c595a8b4a3e 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@ > $@