diff options
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 $+ |