diff options
author | Marvin Borner | 2020-08-15 13:45:41 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-15 13:45:41 +0200 |
commit | 162c84cfe6b4652bae213776944b910390553d41 (patch) | |
tree | 737645fb79228393a9ef463ba5e01b92659ea43e /lib | |
parent | cb47a048d233e1f2433c815a06d53d8087e19dad (diff) |
Reverted PIE binaries and fixed userspace lib
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 2 |
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 $+ |