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