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