xref: /freebsd/tools/build/mk/Makefile.boot.pre (revision cab6a39d7b343596a5823e65c0f7b426551ec22d)
1# $FreeBSD$
2
3# Various MK_* options need to be set before including bsd.prog.mk/bsd.lib.mk
4.if ${.MAKE.OS} != "FreeBSD"
5# Most Linux distributions don't ship the .a files for static linking.
6# And on macOS it is impossible to create a statically linked binary.
7NO_SHARED:=	no
8MK_PIE:=	no
9MK_RETPOLINE=	no
10# There is no objcopy on macOS so we can't do the MK_DEBUG_FILES objcopy magic.
11MK_DEBUG_FILES:=no
12.endif
13