aboutsummaryrefslogtreecommitdiff
path: root/gdb/silent-rules.mk
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-28 10:32:13 -0600
committerTom Tromey <tom@tromey.com>2018-06-28 15:13:43 -0600
commit44cee4fdf46a13b63d90ed706c815d9c81e972e3 (patch)
tree6f4c3c482d7ab94560e0e3a2d5b3bd9b1b7e5123 /gdb/silent-rules.mk
parentf2ffa92bbce9dd5fbedc138ac2a3bc8a88327d09 (diff)
downloadgdb-44cee4fdf46a13b63d90ed706c815d9c81e972e3.zip
gdb-44cee4fdf46a13b63d90ed706c815d9c81e972e3.tar.gz
gdb-44cee4fdf46a13b63d90ed706c815d9c81e972e3.tar.bz2
Add --enable-codesign to gdb's configure
macOS requires that the gdb executable be signed in order to be able to successfully use ptrace. This must be done after each link. This patch adds a new --enable-codesign configure option so that this step can be automated. gdb/ChangeLog 2018-06-28 Tom Tromey <tom@tromey.com> * NEWS: Mention --enable-codesign. * silent-rules.mk (ECHO_SIGN): New variable. * configure.ac: Add --enable-codesign. * configure: Rebuild. * Makefile.in (CODESIGN, CODESIGN_CERT): New variables. (gdb$(EXEEXT)): Optionally invoke codesign.
Diffstat (limited to 'gdb/silent-rules.mk')
-rw-r--r--gdb/silent-rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/silent-rules.mk b/gdb/silent-rules.mk
index 803dbda..ade77ad 100644
--- a/gdb/silent-rules.mk
+++ b/gdb/silent-rules.mk
@@ -10,5 +10,6 @@ ECHO_GEN_XML_BUILTIN = \
ECHO_GEN_XML_BUILTIN_GENERATED = \
@echo " GEN xml-builtin-generated.c";
ECHO_INIT_C = echo " GEN init.c" ||
+ECHO_SIGN = @echo " SIGN gdb";
SILENCE = @
endif