aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-25 20:57:21 -0400
committerIan Moffett <ian@osmora.org>2024-03-25 20:57:21 -0400
commit5096f7c858b3e3151040b27748ec59e516ac3b80 (patch)
treede061077b01c158c0f507d09aebfd764e72cf5a2 /usr.sbin
parent2859f4561ec78a2ee83d6cea03321a9ae2aeb232 (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/Makefile3
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