aboutsummaryrefslogblamecommitdiff
path: root/tools/build/mk/Makefile.boot.pre
blob: 4113c934fbc0dec72c884dbe5b184837c6ec44c6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                               
# $FreeBSD$

# Various MK_* options need to be set before including bsd.prog.mk/bsd.lib.mk
.if ${.MAKE.OS} != "FreeBSD"
# Most Linux distributions don't ship the .a files for static linking.
# And on macOS it is impossible to create a statically linked binary.
NO_SHARED:=	no
MK_PIE:=	no
MK_RETPOLINE=	no
# There is no objcopy on macOS so we can't do the MK_DEBUG_FILES objcopy magic.
MK_DEBUG_FILES:=no
.endif