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