diff options
| author | Joakim Verona | 2012-06-13 18:00:21 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-06-13 18:00:21 +0200 |
| commit | 13d6898b0656b38da837261ec20a055a1be4a7e5 (patch) | |
| tree | b3399abf9cbea221b083b5bd8368915169b02fb1 /src/Makefile.in | |
| parent | 5259b41aab32e82ff06d977877f2e456541b3c0b (diff) | |
| parent | 8cca97031d60136b3bdebef0d978ee3fe40eddec (diff) | |
| download | emacs-13d6898b0656b38da837261ec20a055a1be4a7e5.tar.gz emacs-13d6898b0656b38da837261ec20a055a1be4a7e5.zip | |
upstream, doesn build yet
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 1dd966ec0a7..b02d49ff5b0 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -113,6 +113,12 @@ TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_TEMACS) | |||
| 113 | ## $LDFLAGS or empty if NS_IMPL_GNUSTEP (for some reason). | 113 | ## $LDFLAGS or empty if NS_IMPL_GNUSTEP (for some reason). |
| 114 | TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@ | 114 | TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@ |
| 115 | 115 | ||
| 116 | ## If available, the full path to the paxctl program. | ||
| 117 | ## On grsecurity/PaX systems, unexec will fail due to a gap between | ||
| 118 | ## the bss section and the heap. This can be prevented by disabling | ||
| 119 | ## memory randomization in temacs with "paxctl -r". See bug#11398. | ||
| 120 | PAXCTL = @PAXCTL@ | ||
| 121 | |||
| 116 | ## Some systems define this to request special libraries. | 122 | ## Some systems define this to request special libraries. |
| 117 | LIBS_SYSTEM=@LIBS_SYSTEM@ | 123 | LIBS_SYSTEM=@LIBS_SYSTEM@ |
| 118 | 124 | ||
| @@ -413,6 +419,7 @@ emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) $(leimdir)/leim-list.el | |||
| 413 | -f list-load-path-shadows || true; \ | 419 | -f list-load-path-shadows || true; \ |
| 414 | else \ | 420 | else \ |
| 415 | LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump || exit 1; \ | 421 | LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump || exit 1; \ |
| 422 | test "X$(PAXCTL)" = X || $(PAXCTL) -zex emacs$(EXEEXT); \ | ||
| 416 | ln -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | 423 | ln -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ |
| 417 | ./emacs -batch -f list-load-path-shadows || true; \ | 424 | ./emacs -batch -f list-load-path-shadows || true; \ |
| 418 | fi | 425 | fi |
| @@ -460,6 +467,8 @@ $(lib)/libgnu.a: $(config_h) | |||
| 460 | temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj) $(lib)/libgnu.a | 467 | temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj) $(lib)/libgnu.a |
| 461 | $(CC) $(LD_FIRSTFLAG) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(TEMACS_LDFLAGS2) \ | 468 | $(CC) $(LD_FIRSTFLAG) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(TEMACS_LDFLAGS2) \ |
| 462 | -o temacs $(START_FILES) $(obj) $(otherobj) $(lib)/libgnu.a $(LIBES) | 469 | -o temacs $(START_FILES) $(obj) $(otherobj) $(lib)/libgnu.a $(LIBES) |
| 470 | test "$(CANNOT_DUMP)" = "yes" || \ | ||
| 471 | test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) | ||
| 463 | 472 | ||
| 464 | ## The following oldxmenu-related rules are only (possibly) used if | 473 | ## The following oldxmenu-related rules are only (possibly) used if |
| 465 | ## HAVE_X11 && !USE_GTK, but there is no harm in always defining them | 474 | ## HAVE_X11 && !USE_GTK, but there is no harm in always defining them |
| @@ -607,6 +616,7 @@ bootstrap-emacs$(EXEEXT): temacs$(EXEEXT) | |||
| 607 | ln -f temacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | 616 | ln -f temacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ |
| 608 | else \ | 617 | else \ |
| 609 | $(RUN_TEMACS) --batch --load loadup bootstrap || exit 1; \ | 618 | $(RUN_TEMACS) --batch --load loadup bootstrap || exit 1; \ |
| 619 | test "X$(PAXCTL)" = X || $(PAXCTL) -zex emacs$(EXEEXT); \ | ||
| 610 | mv -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | 620 | mv -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ |
| 611 | fi | 621 | fi |
| 612 | @: Compile some files earlier to speed up further compilation. | 622 | @: Compile some files earlier to speed up further compilation. |