[gnome-builder] build: ignore SIGPIPE in run/debug helpers



commit ca021131ba83850873fc5b28edcd4ef97962454f
Author: Christian Hergert <chergert redhat com>
Date:   Fri Mar 17 16:10:06 2017 -0700

    build: ignore SIGPIPE in run/debug helpers

 Makefile.am |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index f86f578..74992d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -72,7 +72,10 @@ run:
        GOBJECT_DEBUG=instance-count                                           \
        PYTHONDONTWRITEBYTECODE=yes                                            \
        PATH=$(top_builddir)/src:${PATH}                                       \
-       $(LIBTOOL) --mode=execute gdb -ex run --args src/gnome-builder -vvvv -s $(ARGS)
+       $(LIBTOOL) --mode=execute gdb                                          \
+           -ex 'handle SIGPIPE nostop noprint pass'                           \
+           -ex run                                                            \
+           --args src/gnome-builder -vvvv -s $(ARGS)
 
 strace:
        @ PEAS_DEBUG=1                                                         \
@@ -98,7 +101,10 @@ debug:
        GOBJECT_DEBUG=instance-count                                           \
        PYTHONDONTWRITEBYTECODE=yes                                            \
        PATH=$(top_builddir)/src:${PATH}                                       \
-       $(LIBTOOL) --mode=execute gdb -ex run --args src/gnome-builder -vvvv -s $(ARGS)
+       $(LIBTOOL) --mode=execute gdb                                          \
+           -ex 'handle SIGPIPE nostop noprint pass'                           \
+           -ex run                                                            \
+           --args src/gnome-builder -vvvv -s $(ARGS)
 
 valgrind:
        @ PEAS_DEBUG=1                                                         \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]