From 2745f932b167d21c843bdef0f431346443e79f1c Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Thu, 13 Feb 2025 22:57:29 +1000 Subject: [PATCH] enable aslr --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 70696a69f..c40330eb2 100644 --- a/Makefile +++ b/Makefile @@ -1005,6 +1005,9 @@ ifeq ($(IS_DEV_OR_DEBUG),0) endif endif +# Enable ASLR +CFLAGS += -fPIE + # Prevent a crash with -sopt export LANG := C