diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-25 20:57:21 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-25 20:57:21 -0400 |
commit | 5096f7c858b3e3151040b27748ec59e516ac3b80 (patch) | |
tree | de061077b01c158c0f507d09aebfd764e72cf5a2 /usr.sbin | |
parent | 2859f4561ec78a2ee83d6cea03321a9ae2aeb232 (diff) |
usr.sbin: init: Fix Makefile
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/init/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/init/Makefile b/usr.sbin/init/Makefile index fa65c8d..a7af644 100644 --- a/usr.sbin/init/Makefile +++ b/usr.sbin/init/Makefile @@ -4,5 +4,4 @@ LDSO = .PHONY: all all: - $(CC) -c main.c -o main.o; - $(LD) --dynamic-linker /usr/lib/ld.so $(LDSO) main.o -o init -e main + $(CC) -pie -nostdlib main.c -o init -e main |