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