]> git.eshelyaron.com Git - emacs.git/commit
Enable ASLR for dynamic libraries on Cygwin
authorKen Brown <kbrown@cornell.edu>
Sun, 26 Mar 2023 19:02:30 +0000 (15:02 -0400)
committerKen Brown <kbrown@cornell.edu>
Mon, 27 Mar 2023 22:00:14 +0000 (18:00 -0400)
commit66b4394461589d0db8690b7971000f687bd3ad57
tree6d5babecde8d4014d2268617cc0835f5f38d9a7c
parenteb166287f3de74ab918e66e5e394554fb7acb9af
Enable ASLR for dynamic libraries on Cygwin

This seems to avoid the fork failures described in etc/PROBLEMS
("Fork failures in a build with native compilation").

* lisp/treesit.el (treesit--install-language-grammar-1):
* lisp/emacs-lisp/comp.el (native-comp-driver-options): Add the
linker flag "-Wl,-dynamicbase" on Cygwin.
lisp/emacs-lisp/comp.el
lisp/treesit.el