From 162c84cfe6b4652bae213776944b910390553d41 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 15 Aug 2020 13:45:41 +0200 Subject: Reverted PIE binaries and fixed userspace lib --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Makefile b/lib/Makefile index c324891..f4286ae 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -22,7 +22,7 @@ CFLAGS = $(CSFLAGS) -Wall -Wextra -nostdlib -nostdinc -ffreestanding -fno-builti %.o: %.c @$(CC) -c $(CFLAGS) $< -o $@ -libc: CFLAGS += -Duserspace +libc: CFLAGS += -Duserspace -fPIE libc: $(COBJS) @mkdir -p ../build/ @$(AR) qc ../build/libc.a $+ -- cgit v1.2.3