1 .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
8 .Nd "source build options"
12 file contains settings that will apply to every build involving the
19 file uses the standard makefile syntax.
22 should not specify any dependencies to
28 variables that control the aspects of how the system builds.
30 The default location of
34 though an alternative location can be specified in the
38 Overriding the location of
40 may be necessary if the system-wide settings are not suitable
41 for a particular build.
46 effectively resets all build controls to their defaults.
50 is to control the compilation of the
52 source code, which is usually located in
54 As a rule, the system administrator creates
56 when the values of certain control variables need to be changed
59 In addition, control variables can be specified
60 for a particular build via the
64 or in its environment; see
69 for the build can be controlled via the
71 variable, which defaults to
72 .Pa /etc/src-env.conf .
73 Some examples that may only be set in this file are
74 .Va WITH_DIRDEPS_BUILD ,
79 as they are environment-only variables.
81 The values of variables are ignored regardless of their setting;
82 even if they would be set to
86 The presence of an option causes
90 This list provides a name and short description for variables
91 that can be used for source builds.
92 .Bl -tag -width indent
94 Set to not build process accounting tools such as
102 and related programs.
106 and related programs.
111 and related programs.
112 .It Va WITHOUT_ASSERT_DEBUG
113 Set to compile programs and libraries without the
119 and related utilities.
122 programs and libraries related to ATM networking.
124 Set to not build audit support into system programs.
125 .It Va WITHOUT_AUTHPF
128 .It Va WITHOUT_AUTOFS
131 related programs, libraries, and kernel modules.
132 .It Va WITHOUT_AUTO_OBJ
133 Disable automatic creation of objdirs.
134 This is enabled by default if the wanted OBJDIR is writable by the current user.
136 This must be set in the environment, make command line, or
137 .Pa /etc/src-env.conf ,
141 Build the BearSSL library.
143 BearSSL is a tiny SSL library suitable for embedded environments.
145 .Lk http://www.BearSSL.org/
147 This library is currently only used to perform
148 signature verification and related operations
149 for Verified Exec and
151 When set, these options are also in effect:
154 .It Va WITH_LOADER_EFI_SECUREBOOT
156 .Va WITHOUT_LOADER_EFI_SECUREBOOT
158 .It Va WITH_LOADER_VERIEXEC
160 .Va WITHOUT_LOADER_VERIEXEC
168 Set to not build or install
170 associated utilities, and examples.
172 This option only affects amd64/amd64.
174 Build all binaries with the
176 flag set to indicate that the run-time loader should perform all relocation
177 processing at process startup rather than on demand.
178 .It Va WITHOUT_BINUTILS
179 Set to not build or install GNU
182 and for some CPU architectures
185 of the normal system build.
186 The resulting system cannot build programs from source.
188 This is a default setting on
189 arm64/aarch64 and riscv/riscv64.
191 Set to build and install GNU
194 and for some CPU architectures
197 of the normal system build.
199 This is a default setting on
200 amd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
201 .It Va WITHOUT_BINUTILS_BOOTSTRAP
202 Set to not build binutils (as, ld, and objdump)
203 as part of the bootstrap process.
205 The option does not work for build targets unless some alternative
206 toolchain is provided.
209 This is a default setting on
210 arm64/aarch64 and riscv/riscv64.
211 .It Va WITH_BINUTILS_BOOTSTRAP
212 Set build binutils (as, ld, and objdump)
213 as part of the bootstrap process.
215 This is a default setting on
216 amd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
217 .It Va WITHOUT_BLACKLIST
218 Set this if you do not want to build
222 When set, these options are also in effect:
225 .It Va WITHOUT_BLACKLIST_SUPPORT
227 .Va WITH_BLACKLIST_SUPPORT
230 .It Va WITHOUT_BLACKLIST_SUPPORT
231 Set to build some programs without
240 .It Va WITHOUT_BLUETOOTH
241 Set to not build Bluetooth related kernel modules, programs and libraries.
243 Set to not build the boot blocks and loader.
244 .It Va WITHOUT_BOOTPARAMD
245 Set to not build or install
247 .It Va WITHOUT_BOOTPD
248 Set to not build or install
250 .It Va WITHOUT_BSDINSTALL
254 and related programs.
255 .It Va WITHOUT_BSD_CPIO
256 Set to not build the BSD licensed version of cpio based on
258 .It Va WITHOUT_BSD_CRTBEGIN
259 Disable the BSD licensed
264 This is a default setting on
265 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
266 .It Va WITH_BSD_CRTBEGIN
267 Enable the BSD licensed
272 This is a default setting on
273 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64.
275 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
277 Set to not build or install
279 and related libraries and data files.
281 Set to not build contributed bzip2 software as a part of the base system.
283 The option has no effect yet.
285 When set, these options are also in effect:
288 .It Va WITHOUT_BZIP2_SUPPORT
290 .Va WITH_BZIP2_SUPPORT
293 .It Va WITHOUT_BZIP2_SUPPORT
294 Set to build some programs without optional bzip2 support.
295 .It Va WITHOUT_CALENDAR
298 .It Va WITHOUT_CAPSICUM
299 Set to not build Capsicum support into system programs.
300 When set, it enforces these options:
306 .It Va WITHOUT_CASPER
307 Set to not build Casper program and related libraries.
308 .It Va WITH_CCACHE_BUILD
312 No configuration is required except to install the
318 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
319 The default cache directory of
321 will be used, which can be overridden by setting
324 .Sy CCACHE_COMPILERCHECK
327 when using the in-tree bootstrap compiler,
330 when using an external compiler.
333 option is used for Clang but not GCC.
335 Sharing a cache between multiple work directories requires using a layout
339 and an environment such as:
340 .Bd -literal -offset indent
341 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
346 for more configuration options.
350 and related utilities.
352 Set to not build code licensed under Sun's CDDL.
353 When set, it enforces these options:
359 .Va WITHOUT_LOADER_ZFS
364 Set to not build the Clang C/C++ compiler during the regular phase of the build.
366 This is a default setting on
367 riscv/riscv64 and sparc64/sparc64.
368 When set, it enforces these options:
372 .Va WITHOUT_CLANG_EXTRAS
374 .Va WITHOUT_CLANG_FULL
379 When set, these options are also in effect:
382 .It Va WITHOUT_LLVM_TARGET_AARCH64
384 .Va WITH_LLVM_TARGET_AARCH64
386 .It Va WITHOUT_LLVM_TARGET_ALL
388 .Va WITH_LLVM_TARGET_ALL
390 .It Va WITHOUT_LLVM_TARGET_ARM
392 .Va WITH_LLVM_TARGET_ARM
394 .It Va WITHOUT_LLVM_TARGET_MIPS
396 .Va WITH_LLVM_TARGET_MIPS
398 .It Va WITHOUT_LLVM_TARGET_POWERPC
400 .Va WITH_LLVM_TARGET_POWERPC
402 .It Va WITHOUT_LLVM_TARGET_RISCV
404 .Va WITH_LLVM_TARGET_RISCV
406 .It Va WITHOUT_LLVM_TARGET_SPARC
408 .Va WITH_LLVM_TARGET_SPARC
410 .It Va WITHOUT_LLVM_TARGET_X86
412 .Va WITH_LLVM_TARGET_X86
416 Set to build the Clang C/C++ compiler during the normal phase of the build.
418 This is a default setting on
419 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
420 .It Va WITHOUT_CLANG_BOOTSTRAP
421 Set to not build the Clang C/C++ compiler during the bootstrap phase of
423 To be able to build the system, either gcc or clang bootstrap must be
424 enabled unless an alternate compiler is provided via XCC.
426 This is a default setting on
427 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
428 .It Va WITH_CLANG_BOOTSTRAP
429 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
431 This is a default setting on
432 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
433 .It Va WITH_CLANG_EXTRAS
434 Set to build additional clang and llvm tools, such as bugpoint and
436 .It Va WITHOUT_CLANG_FULL
437 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
438 the Clang C/C++ compiler.
440 This is a default setting on
441 riscv/riscv64 and sparc64/sparc64.
442 .It Va WITH_CLANG_FULL
443 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
444 Clang C/C++ compiler.
446 This is a default setting on
447 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
448 .It Va WITHOUT_CLANG_IS_CC
449 Set to install the GCC compiler as
455 This is a default setting on
456 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
457 .It Va WITH_CLANG_IS_CC
458 Set to install the Clang C/C++ compiler as
464 This is a default setting on
465 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
469 .It Va WITHOUT_CROSS_COMPILER
470 Set to not build any cross compiler in the cross-tools stage of buildworld.
471 When compiling a different version of
473 than what is installed on the system, provide an alternate
474 compiler with XCC to ensure success.
475 When compiling with an identical version of
477 to the host, this option may be safely used.
478 This option may also be safe when the host version of
480 is close to the sources being built, but all bets are off if there have
481 been any changes to the toolchain between the versions.
482 When set, it enforces these options:
486 .Va WITHOUT_BINUTILS_BOOTSTRAP
488 .Va WITHOUT_CLANG_BOOTSTRAP
490 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
492 .Va WITHOUT_GCC_BOOTSTRAP
494 .Va WITHOUT_LLD_BOOTSTRAP
497 Set to not build any crypto code.
498 When set, it enforces these options:
509 When set, these options are also in effect:
512 .It Va WITHOUT_GSSAPI
518 Set to compile with CTF (Compact C Type Format) data.
519 CTF data encapsulates a reduced form of debugging information
520 similar to DWARF and the venerable stabs and is required for DTrace.
522 Set to not build CUSE-related programs and libraries.
523 .It Va WITHOUT_CXGBETOOL
527 This is a default setting on
528 arm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe and riscv/riscv64.
529 .It Va WITH_CXGBETOOL
533 This is a default setting on
534 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
538 and related libraries.
539 It will also prevent building of
543 When set, it enforces these options:
549 .Va WITHOUT_CLANG_EXTRAS
551 .Va WITHOUT_CLANG_FULL
553 .Va WITHOUT_DTRACE_TESTS
561 .It Va WITHOUT_DEBUG_FILES
562 Set to avoid building or installing standalone debug files for each
563 executable binary and shared library.
564 .It Va WITHOUT_DIALOG
571 When set, it enforces these options:
575 .Va WITHOUT_BSDINSTALL
578 Set to not build the Webster dictionary files.
579 .It Va WITH_DIRDEPS_BUILD
580 This is an experimental build system.
582 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
583 Build commands can be seen from the top-level with:
584 .Dl make show-valid-targets
585 The build is driven by dirdeps.mk using
588 Makefile.depend files found in each directory.
590 The build can be started from anywhere, and behaves the same.
591 The initial instance of
596 .Pa Makefile.depend ,
597 computing a graph of tree dependencies from the current origin.
600 skips checking dirdep dependencies and will only build in the current
601 and child directories.
603 skips building any dirdeps and only build the current directory.
605 This also utilizes the
607 logic for incremental builds.
609 The build hides commands executed unless
613 Note that there is currently no mass install feature for this.
615 When set, it enforces these options:
619 .Va WITH_INSTALL_AS_USER
622 When set, these options are also in effect:
625 .It Va WITH_META_MODE
627 .Va WITHOUT_META_MODE
633 .It Va WITH_STAGING_MAN
635 .Va WITHOUT_STAGING_MAN
637 .It Va WITH_STAGING_PROG
639 .Va WITHOUT_STAGING_PROG
647 This must be set in the environment, make command line, or
648 .Pa /etc/src-env.conf ,
651 .It Va WITH_DIRDEPS_CACHE
652 Cache result of dirdeps.mk which can save significant time
653 for subsequent builds.
655 .Va WITH_DIRDEPS_BUILD .
657 This must be set in the environment, make command line, or
658 .Pa /etc/src-env.conf ,
661 .It Va WITHOUT_DMAGENT
662 Set to not build dma Mail Transport Agent.
663 .It Va WITHOUT_DOCCOMPRESS
664 Set to not install compressed system documentation.
665 Only the uncompressed version will be installed.
666 .It Va WITH_DTRACE_TESTS
667 Set to build and install the DTrace test suite in
668 .Pa /usr/tests/cddl/usr.sbin/dtrace .
669 This test suite is considered experimental on architectures other than
670 amd64/amd64 and running it may cause system instability.
671 .It Va WITHOUT_DYNAMICROOT
672 Set this if you do not want to link
678 Set to not build and install
681 and related programs.
688 This is a default setting on
689 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
696 This is a default setting on
697 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
698 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
699 Set to not build ELF Tool Chain tools
700 (addr2line, nm, size, strings and strip)
701 as part of the bootstrap process.
703 An alternate bootstrap tool chain must be provided.
705 .It Va WITHOUT_EXAMPLES
706 Set to avoid installing examples to
707 .Pa /usr/share/examples/ .
708 .It Va WITH_EXPERIMENTAL
709 Set to include experimental features in the build.
710 .It Va WITH_EXTRA_TCP_STACKS
711 Set to build extra TCP stack modules.
713 Set to not build Flattened Device Tree support as part of the base system.
714 This includes the device tree compiler (dtc) and libfdt support library.
718 and related programs.
719 .It Va WITHOUT_FINGER
720 Set to not build or install
724 .It Va WITHOUT_FLOPPY
725 Set to not build or install programs
726 for operating floppy disk driver.
727 .It Va WITHOUT_FMTREE
728 Set to not build and install
729 .Pa /usr/sbin/fmtree .
730 .It Va WITHOUT_FORMAT_EXTENSIONS
732 .Fl fformat-extensions
733 when compiling the kernel.
734 Also disables all format checking.
736 Set to build bootloaders without Forth support.
737 .It Va WITHOUT_FP_LIBC
740 without floating-point support.
741 .It Va WITHOUT_FREEBSD_UPDATE
743 .Xr freebsd-update 8 .
745 Set to not build or install
750 Set to not build games.
752 Set to not build and install gcc and g++ as part of the normal build process.
754 This is a default setting on
755 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64.
757 Set to build and install gcc and g++.
759 This is a default setting on
760 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
761 .It Va WITHOUT_GCC_BOOTSTRAP
762 Set to not build gcc and g++ as part of the bootstrap process.
763 You must enable either gcc or clang bootstrap to be able to build the system,
764 unless an alternative compiler is provided via
767 This is a default setting on
768 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64.
769 .It Va WITH_GCC_BOOTSTRAP
770 Set to build gcc and g++ as part of the bootstrap process.
772 This is a default setting on
773 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
782 This is a default setting on
783 arm64/aarch64 and riscv/riscv64.
788 This is a default setting on
789 amd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
790 .It Va WITHOUT_GDB_LIBEXEC
796 This is a default setting on
798 .It Va WITH_GDB_LIBEXEC
805 to be used as a fallback for
807 if a newer version is not installed.
809 This is a default setting on
810 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and riscv/riscv64.
811 .It Va WITHOUT_GNUCXX
812 Do not build the GNU C++ stack (g++, libstdc++).
813 This is the default on platforms where clang is the system compiler.
815 This is a default setting on
816 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
818 Build the GNU C++ stack (g++, libstdc++).
819 This is the default on platforms where gcc is the system compiler.
821 This is a default setting on
822 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
823 .It Va WITHOUT_GNU_DIFF
828 .It Va WITHOUT_GNU_GREP
831 .It Va WITH_GNU_GREP_COMPAT
832 Set this option to include GNU extensions in
834 by linking against libgnuregex.
835 .It Va WITHOUT_GOOGLETEST
836 Set to neither build nor install
843 as part of the base system.
844 .It Va WITHOUT_GPL_DTC
845 Set to build the BSD licensed version of the device tree compiler rather
846 than the GPLed one from elinux.org.
848 This is a default setting on
849 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
851 Set to build the GPL'd version of the device tree compiler from elinux.org,
852 instead of the BSD licensed one.
854 This is a default setting on
855 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
856 .It Va WITHOUT_GSSAPI
857 Set to not build libgssapi.
861 and related utilities.
863 Set to build Hesiod support.
865 Set to not build HTML docs.
866 .It Va WITHOUT_HYPERV
867 Set to not build or install HyperV utilities.
869 This is a default setting on
870 arm/arm, arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
872 Set to build or install HyperV utilities.
874 This is a default setting on
875 amd64/amd64 and i386/i386.
877 Set to not build iconv as part of libc.
878 .It Va WITHOUT_INCLUDES
879 Set to not install header files.
880 This option used to be spelled
883 The option does not work for build targets.
886 Set to not build programs and libraries related to IPv4 networking.
887 When set, it enforces these options:
891 .Va WITHOUT_INET_SUPPORT
895 programs and libraries related to IPv6 networking.
896 When set, it enforces these options:
900 .Va WITHOUT_INET6_SUPPORT
902 .It Va WITHOUT_INET6_SUPPORT
903 Set to build libraries, programs, and kernel modules without IPv6 support.
907 .It Va WITHOUT_INET_SUPPORT
908 Set to build libraries, programs, and kernel modules without IPv4 support.
909 .It Va WITHOUT_INSTALLLIB
910 Set this to not install optional libraries.
911 For example, when creating a
915 The option does not work for build targets.
917 .It Va WITH_INSTALL_AS_USER
918 Set to make install targets succeed for non-root users by installing
919 files with owner and group attributes set to that of the user running
923 The user still must set the
925 variable to point to a directory where the user has write permissions.
926 .It Va WITHOUT_IPFILTER
927 Set to not build IP Filter package.
929 Set to not build IPFW tools.
930 .It Va WITHOUT_IPSEC_SUPPORT
931 Set to not build the kernel with
934 This option is needed for
941 and related utilities.
943 Set to not build tools for the support of jails; e.g.,
950 .It Va WITHOUT_KERBEROS
951 Set this to not build Kerberos 5 (KTH Heimdal).
952 When set, these options are also in effect:
955 .It Va WITHOUT_GSSAPI
959 .It Va WITHOUT_KERBEROS_SUPPORT
961 .Va WITH_KERBEROS_SUPPORT
964 .It Va WITHOUT_KERBEROS_SUPPORT
965 Set to build some programs without Kerberos support, like
971 .It Va WITH_KERNEL_RETPOLINE
972 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
974 .It Va WITHOUT_KERNEL_SYMBOLS
975 Set to not install kernel symbol files.
977 This option is recommended for those people who have small root partitions.
982 library as a part of the base system.
984 The option has no effect yet.
986 When set, these options are also in effect:
989 .It Va WITHOUT_KVM_SUPPORT
994 .It Va WITHOUT_KVM_SUPPORT
995 Set to build some programs without optional
999 Setting this variable will prevent the LDNS library from being built.
1000 When set, it enforces these options:
1004 .Va WITHOUT_LDNS_UTILS
1008 .It Va WITHOUT_LDNS_UTILS
1009 Setting this variable will prevent building the LDNS utilities
1013 .It Va WITHOUT_LEGACY_CONSOLE
1014 Set to not build programs that support a legacy PC console; e.g.,
1018 .It Va WITHOUT_LIB32
1019 On 64-bit platforms, set to not build 32-bit library set and a
1022 .It Va WITHOUT_LIBCPLUSPLUS
1023 Set to avoid building libcxxrt and libc++.
1024 .It Va WITHOUT_LIBPTHREAD
1025 Set to not build the
1029 When set, it enforces these options:
1036 On armv6 only, set to enable soft float ABI compatibility libraries.
1037 This option is for transitioning to the new hard float ABI.
1038 .It Va WITHOUT_LIBTHR
1039 Set to not build the
1044 Set to not build LLVM's lld linker.
1046 This is a default setting on
1047 riscv/riscv64 and sparc64/sparc64.
1049 Set to build LLVM's lld linker.
1051 This is a default setting on
1052 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1054 Set to not build the LLDB debugger.
1056 This is a default setting on
1057 arm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1059 Set to build the LLDB debugger.
1061 This is a default setting on
1062 amd64/amd64, arm64/aarch64 and i386/i386.
1063 .It Va WITHOUT_LLD_BOOTSTRAP
1064 Set to not build the LLD linker during the bootstrap phase of
1066 To be able to build the system, either Binutils or LLD bootstrap must be
1067 enabled unless an alternate linker is provided via XLD.
1069 This is a default setting on
1070 arm/arm, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1071 .It Va WITH_LLD_BOOTSTRAP
1072 Set to build the LLD linker during the bootstrap phase of the build,
1073 and use it during buildworld and buildkernel.
1075 This is a default setting on
1076 amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1077 .It Va WITHOUT_LLD_IS_LD
1078 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
1080 This is a default setting on
1081 arm/arm, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1082 .It Va WITH_LLD_IS_LD
1083 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
1085 This is a default setting on
1086 amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1087 .It Va WITHOUT_LLVM_COV
1088 Set to not build the
1092 This is a default setting on
1093 riscv/riscv64 and sparc64/sparc64.
1094 .It Va WITH_LLVM_COV
1099 This is a default setting on
1100 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1101 .It Va WITHOUT_LLVM_LIBUNWIND
1102 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
1104 This is a default setting on
1105 arm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1106 .It Va WITH_LLVM_LIBUNWIND
1107 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1109 This is a default setting on
1110 amd64/amd64, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64.
1111 .It Va WITHOUT_LLVM_TARGET_AARCH64
1112 Set to not build LLVM target support for AArch64.
1115 option should be used rather than this in most cases.
1117 This is a default setting on
1118 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1119 .It Va WITH_LLVM_TARGET_AARCH64
1120 Set to build LLVM target support for AArch64.
1123 option should be used rather than this in most cases.
1125 This is a default setting on
1126 amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1127 .It Va WITHOUT_LLVM_TARGET_ALL
1128 Set to only build the required LLVM target support.
1129 This option is preferred to specific target support options.
1131 This is a default setting on
1132 riscv/riscv64 and sparc64/sparc64.
1133 When set, these options are also in effect:
1136 .It Va WITHOUT_LLVM_TARGET_AARCH64
1138 .Va WITH_LLVM_TARGET_AARCH64
1140 .It Va WITHOUT_LLVM_TARGET_ARM
1142 .Va WITH_LLVM_TARGET_ARM
1144 .It Va WITHOUT_LLVM_TARGET_MIPS
1146 .Va WITH_LLVM_TARGET_MIPS
1148 .It Va WITHOUT_LLVM_TARGET_POWERPC
1150 .Va WITH_LLVM_TARGET_POWERPC
1152 .It Va WITHOUT_LLVM_TARGET_SPARC
1154 .Va WITH_LLVM_TARGET_SPARC
1157 .It Va WITH_LLVM_TARGET_ALL
1158 Set to build support for all LLVM targets.
1159 This option is always applied to the bootstrap compiler for buildworld when
1162 This is a default setting on
1163 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1164 .It Va WITHOUT_LLVM_TARGET_ARM
1165 Set to not build LLVM target support for ARM.
1168 option should be used rather than this in most cases.
1170 This is a default setting on
1171 riscv/riscv64 and sparc64/sparc64.
1172 .It Va WITH_LLVM_TARGET_ARM
1173 Set to build LLVM target support for ARM.
1176 option should be used rather than this in most cases.
1178 This is a default setting on
1179 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1180 .It Va WITH_LLVM_TARGET_BPF
1181 Set to build LLVM target support for BPF.
1184 option should be used rather than this in most cases.
1185 .It Va WITHOUT_LLVM_TARGET_MIPS
1186 Set to not build LLVM target support for MIPS.
1189 option should be used rather than this in most cases.
1191 This is a default setting on
1192 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1193 .It Va WITH_LLVM_TARGET_MIPS
1194 Set to build LLVM target support for MIPS.
1197 option should be used rather than this in most cases.
1199 This is a default setting on
1200 amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1201 .It Va WITHOUT_LLVM_TARGET_POWERPC
1202 Set to not build LLVM target support for PowerPC.
1205 option should be used rather than this in most cases.
1207 This is a default setting on
1208 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1209 .It Va WITH_LLVM_TARGET_POWERPC
1210 Set to build LLVM target support for PowerPC.
1213 option should be used rather than this in most cases.
1215 This is a default setting on
1216 amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1217 .It Va WITHOUT_LLVM_TARGET_RISCV
1218 Set to not build LLVM target support for RISC-V.
1221 option should be used rather than this in most cases.
1223 This is a default setting on
1224 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, and sparc/sparc64.
1225 .It Va WITH_LLVM_TARGET_RISCV
1226 Set to build LLVM target support for RISC-V.
1229 option should be used rather than this in most cases.
1231 .It Va WITHOUT_LLVM_TARGET_SPARC
1232 Set to not build LLVM target support for SPARC.
1235 option should be used rather than this in most cases.
1237 This is a default setting on
1238 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1239 .It Va WITH_LLVM_TARGET_SPARC
1240 Set to build LLVM target support for SPARC.
1243 option should be used rather than this in most cases.
1245 This is a default setting on
1246 amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1247 .It Va WITHOUT_LLVM_TARGET_X86
1248 Set to not build LLVM target support for X86.
1251 option should be used rather than this in most cases.
1253 This is a default setting on
1254 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1255 .It Va WITH_LLVM_TARGET_X86
1256 Set to build LLVM target support for X86.
1259 option should be used rather than this in most cases.
1261 This is a default setting on
1262 amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1263 .It Va WITH_LOADER_EFI_SECUREBOOT
1266 with support for verification based on certificates obtained from UEFI.
1268 .It Va WITH_LOADER_FIREWIRE
1269 Enable firewire support in /boot/loader on x86. This option is a nop
1270 on all other platforms.
1271 .It Va WITH_LOADER_FORCE_LE
1272 Set to force the powerpc boot loader to launch the kernel in little
1274 .It Va WITHOUT_LOADER_GELI
1275 Disable inclusion of GELI crypto support in the boot chain binaries.
1277 This is a default setting on
1278 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1279 .It Va WITH_LOADER_GELI
1280 Set to build GELI bootloader support.
1282 This is a default setting on
1283 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64.
1284 .It Va WITHOUT_LOADER_LUA
1285 Set to not build LUA bindings for the boot loader.
1287 This is a default setting on
1288 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1289 .It Va WITH_LOADER_LUA
1290 Set to build LUA bindings for the boot loader.
1292 This is a default setting on
1293 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64.
1294 .It Va WITHOUT_LOADER_OFW
1295 Disable building of openfirmware bootloader components.
1297 This is a default setting on
1298 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64.
1299 .It Va WITH_LOADER_OFW
1300 Set to build openfirmware bootloader components.
1302 This is a default setting on
1303 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1304 .It Va WITHOUT_LOADER_UBOOT
1305 Disable building of ubldr.
1307 This is a default setting on
1308 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64.
1309 .It Va WITH_LOADER_UBOOT
1312 This is a default setting on
1313 arm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1314 .It Va WITH_LOADER_VERBOSE
1315 Set to build with extra verbose debugging in the loader.
1316 May explode already nearly too large loader over the limit.
1319 .It Va WITH_LOADER_VERIEXEC
1322 with support for verifcation similar to Verified Exec.
1326 When set, these options are also in effect:
1329 .It Va WITH_LOADER_EFI_SECUREBOOT
1331 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1334 .It Va WITHOUT_LOADER_ZFS
1335 Set to not build ZFS file system boot loader support.
1336 .It Va WITHOUT_LOCALES
1337 Set to not build localization files; see
1339 .It Va WITHOUT_LOCATE
1342 and related programs.
1346 and related programs.
1347 .It Va WITHOUT_LS_COLORS
1350 without support for colors to distinguish file types.
1351 .It Va WITHOUT_LZMA_SUPPORT
1352 Set to build some programs without optional lzma compression support.
1354 Set to not build any mail support (MUA or MTA).
1355 When set, it enforces these options:
1361 .Va WITHOUT_MAILWRAPPER
1363 .Va WITHOUT_SENDMAIL
1365 .It Va WITHOUT_MAILWRAPPER
1366 Set to not build the
1372 and related support files.
1373 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1376 in limited sandbox mode.
1377 This option should be paired with
1378 .Va WITH_INSTALL_AS_USER
1379 if executed as an unprivileged user.
1384 Set to not build manual pages.
1385 When set, these options are also in effect:
1388 .It Va WITHOUT_MAN_UTILS
1393 .It Va WITHOUT_MANCOMPRESS
1394 Set to not to install compressed man pages.
1395 Only the uncompressed versions will be installed.
1396 .It Va WITHOUT_MAN_UTILS
1397 Set to not build utilities for manual pages,
1403 and related support files.
1404 .It Va WITH_META_MODE
1407 meta files when building, which can provide a reliable incremental build when
1410 The meta file is created in OBJDIR as
1412 These meta files track the command that was executed, its output, and the
1416 module is required unless
1419 When the module is loaded, any files used by the commands executed are
1420 tracked as dependencies for the target in its meta file.
1421 The target is considered out-of-date and rebuilt if any of these
1422 conditions are true compared to the last build:
1423 .Bl -bullet -compact
1425 The command to execute changes.
1427 The current working directory changes.
1429 The target's meta file is missing.
1431 The target's meta file is missing filemon data when filemon is loaded
1432 and a previous run did not have it loaded.
1436 Files read, executed or linked to are newer than the target.
1440 Files read, written, executed or linked are missing.
1442 The meta files can also be useful for debugging.
1444 The build hides commands that are executed unless
1449 to show some of its environment for further debugging.
1451 The build operates as it normally would otherwise.
1452 This option originally invoked a different build system but that was renamed
1454 .Va WITH_DIRDEPS_BUILD .
1456 This must be set in the environment, make command line, or
1457 .Pa /etc/src-env.conf ,
1460 .It Va WITHOUT_MLX5TOOL
1464 This is a default setting on
1465 arm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe and riscv/riscv64.
1466 .It Va WITH_MLX5TOOL
1470 This is a default setting on
1471 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
1473 Set to build the NAND Flash components.
1475 Set to not build programs and libraries
1476 related to NDIS emulation support.
1477 .It Va WITHOUT_NETCAT
1481 .It Va WITHOUT_NETGRAPH
1482 Set to not build applications to support
1484 When set, it enforces these options:
1490 .Va WITHOUT_BLUETOOTH
1493 When set, these options are also in effect:
1496 .It Va WITHOUT_NETGRAPH_SUPPORT
1498 .Va WITH_NETGRAPH_SUPPORT
1501 .It Va WITHOUT_NETGRAPH_SUPPORT
1502 Set to build libraries, programs, and kernel modules without netgraph support.
1506 support and related programs.
1507 If set, you might need to adopt your
1513 Set to not build NLS catalogs.
1514 When set, it enforces these options:
1518 .Va WITHOUT_NLS_CATALOGS
1520 .It Va WITHOUT_NLS_CATALOGS
1521 Set to not build NLS catalog support for
1523 .It Va WITHOUT_NS_CACHING
1524 Set to disable name caching in the
1527 The generic caching daemon,
1529 will not be built either if this option is set.
1533 and related programs.
1535 Set to not build nvme related tools and kernel modules.
1537 This is a default setting on
1538 arm/arm, arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1540 Set to build nvme related tools and kernel modules.
1543 This is a default setting on
1544 amd64/amd64, i386/i386 and powerpc/powerpc64.
1547 .Dq "OpenFabrics Enterprise Distribution"
1548 Infiniband software stack.
1549 .It Va WITH_OFED_EXTRA
1550 Set to build the non-essential components of the
1551 .Dq "OpenFabrics Enterprise Distribution"
1552 Infiniband software stack, mostly examples.
1553 .It Va WITH_OPENLDAP
1554 Enable building openldap support for kerberos.
1555 .It Va WITHOUT_OPENMP
1556 Set to not build LLVM's OpenMP runtime.
1558 This is a default setting on
1559 arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1561 Set to build LLVM's OpenMP runtime.
1563 This is a default setting on
1565 .It Va WITHOUT_OPENSSH
1566 Set to not build OpenSSH.
1567 .It Va WITHOUT_OPENSSL
1568 Set to not build OpenSSL.
1569 When set, it enforces these options:
1573 .Va WITHOUT_KERBEROS
1578 When set, these options are also in effect:
1581 .It Va WITHOUT_GSSAPI
1587 Set to not build PAM library and modules.
1589 This option is deprecated and does nothing.
1591 When set, these options are also in effect:
1594 .It Va WITHOUT_PAM_SUPPORT
1596 .Va WITH_PAM_SUPPORT
1599 .It Va WITHOUT_PAM_SUPPORT
1600 Set to build some programs without PAM support, particularly
1604 .It Va WITHOUT_PC_SYSINSTALL
1607 and related programs.
1609 Set to not build PF firewall package.
1610 When set, it enforces these options:
1617 Build dynamically linked binaries as
1618 Position-Independent Executable (PIE).
1619 .It Va WITHOUT_PKGBOOTSTRAP
1626 and related programs.
1627 .It Va WITHOUT_PORTSNAP
1628 Set to not build or install
1631 When set, it enforces these options:
1635 .Va WITHOUT_FREEBSD_UPDATE
1640 and related programs.
1641 .It Va WITHOUT_PROFILE
1642 Set to not build profiled libraries for use with
1645 This is a default setting on
1646 mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
1648 Set to build profiled libraries for use with
1651 This is a default setting on
1652 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1653 .It Va WITHOUT_QUOTAS
1656 and related programs.
1657 .It Va WITHOUT_RADIUS_SUPPORT
1658 Set to not build radius support into various applications, like
1662 .It Va WITH_RATELIMIT
1663 Set to build the system with rate limit support.
1666 .Dv SO_MAX_PACING_RATE
1674 .It Va WITHOUT_RBOOTD
1675 Set to not build or install
1677 .It Va WITHOUT_REPRODUCIBLE_BUILD
1678 Set to include build metadata (such as the build time, user, and host)
1679 in the kernel, boot loaders, and uname output.
1680 Successive builds will not be bit-for-bit identical.
1681 .It Va WITHOUT_RESCUE
1684 .It Va WITH_RETPOLINE
1685 Set to build the base system with the retpoline speculative execution
1686 vulnerability mitigation for CVE-2017-5715.
1687 .It Va WITHOUT_ROUTED
1691 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1694 with warmstart support.
1695 .It Va WITHOUT_SENDMAIL
1698 and related programs.
1699 .It Va WITHOUT_SERVICESDB
1701 .Pa /var/db/services.db .
1702 .It Va WITHOUT_SETUID_LOGIN
1703 Set this to disable the installation of
1705 as a set-user-ID root program.
1706 .It Va WITHOUT_SHAREDOCS
1707 Set to not build the
1710 .It Va WITH_SHARED_TOOLCHAIN
1711 Set to build the toolchain binaries shared.
1715 and necessary utilities like assembler, linker and library archive manager.
1716 .It Va WITH_SORT_THREADS
1717 Set to enable threads in
1719 .It Va WITHOUT_SOURCELESS
1720 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1721 When set, it enforces these options:
1725 .Va WITHOUT_SOURCELESS_HOST
1727 .Va WITHOUT_SOURCELESS_UCODE
1729 .It Va WITHOUT_SOURCELESS_HOST
1730 Set to not build kernel modules that include sourceless native code for host CPU.
1731 .It Va WITHOUT_SOURCELESS_UCODE
1732 Set to not build kernel modules that include sourceless microcode.
1734 Set to not build world with propolice stack smashing protection.
1736 This is a default setting on
1737 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1739 Set to build world with propolice stack smashing protection.
1741 This is a default setting on
1742 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1744 Enable staging of files to a stage tree.
1745 This can be best thought of as auto-install to
1747 with some extra meta data to ensure dependencies can be tracked.
1749 .Va WITH_DIRDEPS_BUILD .
1750 When set, these options are also in effect:
1753 .It Va WITH_STAGING_MAN
1755 .Va WITHOUT_STAGING_MAN
1757 .It Va WITH_STAGING_PROG
1759 .Va WITHOUT_STAGING_PROG
1763 This must be set in the environment, make command line, or
1764 .Pa /etc/src-env.conf ,
1767 .It Va WITH_STAGING_MAN
1768 Enable staging of man pages to stage tree.
1769 .It Va WITH_STAGING_PROG
1770 Enable staging of PROGs to stage tree.
1771 .It Va WITH_STALE_STAGED
1772 Check staged files are not stale.
1778 .It Va WITHOUT_SVNLITE
1781 and related programs.
1782 .It Va WITHOUT_SYMVER
1783 Set to disable symbol versioning when building shared libraries.
1784 .It Va WITHOUT_SYSCONS
1787 support files such as keyboard maps, fonts, and screen output maps.
1789 Enable use of sysroot during build.
1791 .Va WITH_DIRDEPS_BUILD .
1793 This must be set in the environment, make command line, or
1794 .Pa /etc/src-env.conf ,
1797 .It Va WITHOUT_SYSTEM_COMPILER
1798 Set to not opportunistically skip building a cross-compiler during the
1799 bootstrap phase of the build.
1800 Normally, if the currently installed compiler matches the planned bootstrap
1801 compiler type and revision, then it will not be built.
1802 This does not prevent a compiler from being built for installation though,
1803 only for building one for the build itself.
1808 options control those.
1809 .It Va WITHOUT_SYSTEM_LINKER
1810 Set to not opportunistically skip building a cross-linker during the
1811 bootstrap phase of the build.
1812 Normally, if the currently installed linker matches the planned bootstrap
1813 linker type and revision, then it will not be built.
1814 This does not prevent a linker from being built for installation though,
1815 only for building one for the build itself.
1819 .Va WITHOUT_BINUTILS
1820 options control those.
1822 This option is only relevant when
1823 .Va WITH_LLD_BOOTSTRAP
1826 Set to not build or install
1830 .It Va WITHOUT_TCP_WRAPPERS
1831 Set to not build or install
1833 and related utilities.
1835 Set to not build and install
1839 .It Va WITHOUT_TELNET
1842 and related programs.
1843 .It Va WITHOUT_TESTS
1844 Set to not build nor install the
1851 This also disables the build of all test-related dependencies, including ATF.
1852 When set, it enforces these options:
1856 .Va WITHOUT_DTRACE_TESTS
1859 When set, these options are also in effect:
1862 .It Va WITHOUT_GOOGLETEST
1866 .It Va WITHOUT_TESTS_SUPPORT
1868 .Va WITH_TESTS_SUPPORT
1871 .It Va WITHOUT_TESTS_SUPPORT
1872 Set to disables the build of all test-related dependencies, including ATF.
1873 When set, it enforces these options:
1877 .Va WITHOUT_GOOGLETEST
1879 .It Va WITHOUT_TEXTPROC
1881 programs used for text processing.
1883 Set to not build or install
1887 .It Va WITHOUT_TOOLCHAIN
1888 Set to not install header or
1889 programs used for program development,
1890 compilers, debuggers etc.
1891 When set, it enforces these options:
1895 .Va WITHOUT_BINUTILS
1899 .Va WITHOUT_CLANG_EXTRAS
1901 .Va WITHOUT_CLANG_FULL
1907 .Va WITHOUT_INCLUDES
1913 .Va WITHOUT_LLVM_COV
1915 .It Va WITHOUT_UNBOUND
1918 and related programs.
1919 .It Va WITHOUT_UNIFIED_OBJDIR
1920 Set to use the historical object directory format for
1923 For native-builds and builds done directly in sub-directories the format of
1924 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1926 while for cross-builds
1927 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1930 This option is transitional and will be removed before the 12.0 release,
1932 .va WITH_UNIFIED_OBJDIR
1933 will be enabled permanently.
1935 This must be set in the environment, make command line, or
1936 .Pa /etc/src-env.conf ,
1940 Set to not build USB-related programs and libraries.
1941 .It Va WITHOUT_USB_GADGET_EXAMPLES
1942 Set to not build USB gadget kernel modules.
1943 .It Va WITHOUT_UTMPX
1944 Set to not build user accounting tools such as
1952 .It Va WITH_VERIEXEC
1955 which loads the contents of verified manifests into the kernel
1962 Set to not build and install vi, view, ex and related programs.
1966 support files (fonts and keymaps).
1967 .It Va WITHOUT_WARNS
1968 Set this to not add warning flags to the compiler invocations.
1969 Useful as a temporary workaround when code enters the tree
1970 which triggers warnings in environments that differ from the
1972 .It Va WITHOUT_WIRELESS
1973 Set to not build programs used for 802.11 wireless networks; especially
1974 .Xr wpa_supplicant 8
1977 When set, these options are also in effect:
1980 .It Va WITHOUT_WIRELESS_SUPPORT
1982 .Va WITH_WIRELESS_SUPPORT
1985 .It Va WITHOUT_WIRELESS_SUPPORT
1986 Set to build libraries, programs, and kernel modules without
1987 802.11 wireless support.
1988 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1990 .Xr wpa_supplicant 8
1991 without support for the IEEE 802.1X protocol and without
1992 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1993 protocols (usable only via 802.1X).
1995 Set to not build ZFS file system kernel module, libraries, and user commands.
1996 .It Va WITHOUT_ZONEINFO
1997 Set to not build the timezone database.
1998 When set, it enforces these options:
2002 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
2004 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
2006 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
2007 Set to build leapsecond information in to the timezone database.
2008 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
2009 Set to build backward compatibility timezone aliases in to the timezone
2013 .Bl -tag -compact -width Pa
2014 .It Pa /etc/src.conf
2015 .It Pa /etc/src-env.conf
2016 .It Pa /usr/share/mk/bsd.own.mk
2029 This manual page was autogenerated by
2030 .An tools/build/options/makeman .