From 7a64bdbbcf14023370b90b22de73c2f61a6f84ac Mon Sep 17 00:00:00 2001
From: Marvin Borner
Date: Sun, 4 Apr 2021 00:11:00 +0200
Subject: Implemented basic user program ASLR

---
 libs/libtxt/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libs/libtxt')

diff --git a/libs/libtxt/Makefile b/libs/libtxt/Makefile
index 6d06502..38fe01f 100644
--- a/libs/libtxt/Makefile
+++ b/libs/libtxt/Makefile
@@ -5,7 +5,7 @@ CC = ccache ../../cross/opt/bin/i686-elf-gcc
 LD = ccache ../../cross/opt/bin/i686-elf-ld
 AR = ccache ../../cross/opt/bin/i686-elf-ar
 
-CFLAGS = $(CFLAGS_DEFAULT) -I../ -I../libc/inc/ -DUSER
+CFLAGS = $(CFLAGS_DEFAULT) -I../ -I../libc/inc/ -pie -fPIE -fPIC -DUSER
 
 all: libtxt
 
-- 
cgit v1.2.3