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