diff options
author | Ian Moffett <ian@osmora.org> | 2024-04-06 19:46:41 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-04-06 19:48:10 -0400 |
commit | 8370d0a3eb373c37386de32ccd3a8a38ddeb8b02 (patch) | |
tree | 2f390a0f8206c8dca80362dd49b01ef3ecec1fc2 /usr.sbin/init/Makefile | |
parent | eccaaf54d8e5ab90ed0cf9dd3be8204e35115692 (diff) |
build: Statically link libc
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.sbin/init/Makefile')
-rw-r--r-- | usr.sbin/init/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
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) |