xref: /freebsd/tools/build/mk/Makefile.boot.pre (revision c7996ddf8000cfb19a9e91a636f56747860d03d7)
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