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