summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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