Skip to content

Commit f778b1b

Browse files
committed
emacs: disable aslr
1 parent 3ab44db commit f778b1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/editor/emacs/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ include ../../../make-rules/shared-macros.mk
2828

2929
COMPONENT_NAME= emacs
3030
COMPONENT_VERSION= 26.3
31-
COMPONENT_REVISION= 2
31+
COMPONENT_REVISION= 3
3232
COMPONENT_PROJECT_URL= https://www.gnu.org/software/emacs/
3333
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3434
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
@@ -87,6 +87,8 @@ CONFIGURE_OPTIONS += ac_cv_sys_long_file_names=yes
8787
# ASLR should remain disabled for emacs (the default);
8888
# build consistently core dumps with ASLR
8989
ASLR_MODE = $(ASLR_DISABLE)
90+
# LD_EXEC_OPTIONS is not supported on illumos, we need to disable ASLR in LD_OPTIONS
91+
LD_OPTIONS+= $(ASLR_MODE)
9092

9193
# variant specific configure options
9294
$(BUILD_DIR)/%-nox/.configured: CONFIGURE_OPTIONS += --without-all --without-x

0 commit comments

Comments
 (0)