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