emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 1c98f98: Suppress GNUstep hardening


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 1c98f98: Suppress GNUstep hardening
Date: Sat, 13 Feb 2016 00:24:08 +0000

branch: emacs-25
commit 1c98f989911442e552f597c74606a220f9315ae8
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Suppress GNUstep hardening
    
    Fedora 23 normally hardens GNUstep applications, which causes
    ‘./configure --with-ns’ to break Emacs’s funky way of undumping.
    Fix this by eliding the hardening options (Bug#22518).
    * src/Makefile.in (LIBS_GNUSTEP): Omit options like
    ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
    (GNU_OBJC_CFLAGS): Omit options like
    ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.
---
 src/Makefile.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index f99a2f4..1f0df6f 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -214,8 +214,8 @@ address@hidden@
 ## configure, which should set it to nil in non-X builds.
 LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE)
 
-## Only used for GNUstep
address@hidden@
+## Used only for GNUstep.
+LIBS_GNUSTEP=$(patsubst -specs=%-hardened-ld,,@LIBS_GNUSTEP@)
 
 LIBSOUND= @LIBSOUND@
 CFLAGS_SOUND= @CFLAGS_SOUND@
@@ -268,8 +268,8 @@ MSDOS_X_OBJ =
 address@hidden@
 ## nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o ns_fontfile if HAVE_NS.
 address@hidden@
-## Only set if NS_IMPL_GNUSTEP.
address@hidden@
+## Used only for GNUstep.
+GNU_OBJC_CFLAGS=$(patsubst -specs=%-hardened-cc1,,@GNU_OBJC_CFLAGS@)
 ## w32fns.o w32menu.c w32reg.o fringe.o fontset.o w32font.o w32term.o
 ## w32xfns.o w32select.o image.o w32uniscribe.o if HAVE_W32, else
 ## empty.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]