From 8370d0a3eb373c37386de32ccd3a8a38ddeb8b02 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 6 Apr 2024 19:46:41 -0400 Subject: build: Statically link libc Signed-off-by: Ian Moffett --- usr.sbin/init/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'usr.sbin/init/Makefile') diff --git a/usr.sbin/init/Makefile b/usr.sbin/init/Makefile index a7af644..13ac173 100644 --- a/usr.sbin/init/Makefile +++ b/usr.sbin/init/Makefile @@ -1,7 +1,6 @@ -CC = -LD = -LDSO = +include ../sbin.mk .PHONY: all all: - $(CC) -pie -nostdlib main.c -o init -e main + @ # $(CC) -pie -nostdlib main.c -o init -e main + $(CC) main.c -o init $(INTERNAL_CFLAGS) -- cgit v1.2.3