aboutsummaryrefslogtreecommitdiffstats
path: root/community/emacs/noaslr-dump.patch
blob: b7dfcb5e785c8d618dd460b42ec30c3a71f9f415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -urw emacs-25.1/src/Makefile.in emacs-25.1-noaslr-dump/src/Makefile.in
--- emacs-25.1/src/Makefile.in	2016-06-29 09:49:20.000000000 +0000
+++ emacs-25.1-noaslr-dump/src/Makefile.in	2016-10-24 15:38:10.365238378 +0000
@@ -532,6 +532,7 @@
 ifeq ($(CANNOT_DUMP),yes)
 	ln -f temacs$(EXEEXT) $@
 else
+	paxmark -r temacs$(EXEEXT)
 	LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
   ifneq ($(PAXCTL_dumped),)
 	$(PAXCTL_dumped) $@
@@ -737,6 +738,7 @@
 ifeq ($(CANNOT_DUMP),yes)
 	ln -f temacs$(EXEEXT) $@
 else
+	paxmark -r temacs$(EXEEXT)
 	$(RUN_TEMACS) --batch --load loadup bootstrap
   ifneq ($(PAXCTL_dumped),)
 	$(PAXCTL_dumped) emacs$(EXEEXT)
Only in emacs-25.1-noaslr-dump/src: Makefile.in.orig