diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-24 22:54:10 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-24 22:54:10 -0400 |
commit | efe5fc5ba52d131baa3d5b297fd7585dfa2eca2b (patch) | |
tree | 058d4bc142c569a4ca9995dc759195d91a442e0c /lib/libc/Makefile | |
parent | abcae7fa5191b32471e4ff0815b0a355328170e2 (diff) |
libc: build: Fixup Makefile
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/Makefile')
-rw-r--r-- | lib/libc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 9135d20..fabb532 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -11,7 +11,8 @@ build/ld.so: build/ linker/entry.c linker/entry.S mkdir -p $(@D) $(CC) $(CFLAGS) linker/entry.S -o build/entry.S.o $(CC) $(CFLAGS) linker/entry.c -o build/entry.o - $(LD) build/entry.o build/entry.S.o -o $(LIBC_OBJ) -o $@ + $(LD) -znoexecstack $(LIBC_OBJ) \ + build/entry.o build/entry.S.o -o $@ %.o: %.c $(CC) $(CFLAGS) $< -o $@ |