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