aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarvin Borner2020-08-15 13:45:41 +0200
committerMarvin Borner2020-08-15 13:45:41 +0200
commit162c84cfe6b4652bae213776944b910390553d41 (patch)
tree737645fb79228393a9ef463ba5e01b92659ea43e /lib
parentcb47a048d233e1f2433c815a06d53d8087e19dad (diff)
Reverted PIE binaries and fixed userspace lib
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 deletions
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 $+