Aurelien Larcher
2018-10-29 567b746f4d1a0ed55ffc573b57262339ae36cd70
common.mk: only enable ASLR if default
1 files modified
2 ■■■■■ changed files
make-rules/common.mk 2 ●●●●● patch | view | raw | blame | history
make-rules/common.mk
@@ -91,9 +91,11 @@
ifeq ($(strip $(BUILD_STYLE)),ant)
ASLR_MODE= $(ASLR_NOT_APPLICABLE)
else
ifeq ($(strip $(DEFAULT_ASLR_ENABLE)),yes)
# Enable ASLR by default unless target build is NO_ARCH.
ifneq ($(strip $(BUILD_BITS)),NO_ARCH)
ASLR_MODE= $(ASLR_ENABLE)
endif # DEFAULT_ASLR_ENABLE yes
endif # BUILD_BITS NO_ARCH
endif # BUILD_STYLE ant