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 ,
77 as they are environment-only variables.
80 may be set here only when using
81 .Va WITH_DIRDEPS_BUILD .
83 The values of variables are ignored regardless of their setting;
84 even if they would be set to
88 The presence of an option causes
92 This list provides a name and short description for variables
93 that can be used for source builds.
94 .Bl -tag -width indent
96 Set to not build process accounting tools such as
104 and related programs.
108 and related programs.
113 and related programs.
114 .It Va WITHOUT_ASSERT_DEBUG
115 Set to compile programs and libraries without the
121 and related utilities.
124 programs and libraries related to ATM networking.
126 Set to not build audit support into system programs.
127 .It Va WITHOUT_AUTHPF
130 .It Va WITHOUT_AUTOFS
133 related programs, libraries, and kernel modules.
135 Enable automatic creation of objdirs.
137 This must be set in the environment, make command line, or
138 .Pa /etc/src-env.conf ,
142 Set to not build or install
144 associated utilities, and examples.
146 This option only affects amd64/amd64.
147 .It Va WITHOUT_BINUTILS
148 Set to not build or install binutils (as, ld, objcopy, and objdump ) as part
149 of the normal system build.
150 The resulting system cannot build programs from source.
152 This is a default setting on
153 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
154 When set, it enforces these options:
161 Set to build and install binutils (as, ld, objcopy, and objdump) as part
162 of the normal system build.
164 This is a default setting on
165 amd64/amd64, arm/arm, arm/armeb, 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.
166 .It Va WITHOUT_BINUTILS_BOOTSTRAP
167 Set to not build binutils (as, ld, objcopy and objdump)
168 as part of the bootstrap process.
170 The option does not work for build targets unless some alternative
171 toolchain is provided.
174 This is a default setting on
175 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
176 .It Va WITH_BINUTILS_BOOTSTRAP
177 Set build binutils (as, ld, objcopy and objdump)
178 as part of the bootstrap process.
180 This is a default setting on
181 amd64/amd64, arm/arm, arm/armeb, 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.
182 .It Va WITHOUT_BLACKLIST
183 Set this if you do not want to build
187 When set, it enforces these options:
191 .Va WITHOUT_BLACKLIST_SUPPORT
193 .It Va WITHOUT_BLACKLIST_SUPPORT
194 Set to build some programs without
203 .It Va WITHOUT_BLUETOOTH
204 Set to not build Bluetooth related kernel modules, programs and libraries.
206 Set to not build the boot blocks and loader.
207 .It Va WITHOUT_BOOTPARAMD
208 Set to not build or install
210 .It Va WITHOUT_BOOTPD
211 Set to not build or install
213 .It Va WITHOUT_BSDINSTALL
217 and related programs.
218 .It Va WITHOUT_BSD_CPIO
219 Set to not build the BSD licensed version of cpio based on
222 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
224 Set to not build or install
226 and related libraries and data files.
228 Set to not build contributed bzip2 software as a part of the base system.
230 The option has no effect yet.
232 When set, it enforces these options:
236 .Va WITHOUT_BZIP2_SUPPORT
238 .It Va WITHOUT_BZIP2_SUPPORT
239 Set to build some programs without optional bzip2 support.
240 .It Va WITHOUT_CALENDAR
243 .It Va WITHOUT_CAPSICUM
244 Set to not build Capsicum support into system programs.
245 When set, it enforces these options:
251 .It Va WITHOUT_CASPER
252 Set to not build Casper program and related libraries.
253 .It Va WITH_CCACHE_BUILD
257 No configuration is required except to install the
263 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
264 The default cache directory of
266 will be used, which can be overridden by setting
269 .Sy CCACHE_COMPILERCHECK
272 when using the in-tree bootstrap compiler,
275 when using an external compiler.
278 option is used for Clang but not GCC.
280 Sharing a cache between multiple work directories requires using a layout
284 and an environment such as:
285 .Bd -literal -offset indent
286 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
291 for more configuration options.
295 and related utilities.
297 Set to not build code licensed under Sun's CDDL.
298 When set, it enforces these options:
307 Set to not build the Clang C/C++ compiler during the regular phase of the build.
309 This is a default setting on
310 riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
311 When set, it enforces these options:
315 .Va WITHOUT_CLANG_EXTRAS
317 .Va WITHOUT_CLANG_FULL
320 Set to build the Clang C/C++ compiler during the normal phase of the build.
322 This is a default setting on
323 amd64/amd64, arm/arm, arm/armeb, 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.
324 .It Va WITHOUT_CLANG_BOOTSTRAP
325 Set to not build the Clang C/C++ compiler during the bootstrap phase of
327 To be able to build the system, either gcc or clang bootstrap must be
328 enabled unless an alternate compiler is provided via XCC.
330 This is a default setting on
331 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, riscv/riscv64sf and sparc64/sparc64.
332 .It Va WITH_CLANG_BOOTSTRAP
333 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
335 This is a default setting on
336 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
337 .It Va WITH_CLANG_EXTRAS
338 Set to build additional clang and llvm tools, such as bugpoint.
339 .It Va WITHOUT_CLANG_FULL
340 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
341 the Clang C/C++ compiler.
343 This is a default setting on
344 riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
345 .It Va WITH_CLANG_FULL
346 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
347 Clang C/C++ compiler.
349 This is a default setting on
350 amd64/amd64, arm/arm, arm/armeb, 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.
351 .It Va WITHOUT_CLANG_IS_CC
352 Set to install the GCC compiler as
358 This is a default setting on
359 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, riscv/riscv64sf and sparc64/sparc64.
360 .It Va WITH_CLANG_IS_CC
361 Set to install the Clang C/C++ compiler as
367 This is a default setting on
368 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
372 .It Va WITHOUT_CROSS_COMPILER
373 Set to not build any cross compiler in the cross-tools stage of buildworld.
374 When compiling a different version of
376 than what is installed on the system, provide an alternate
377 compiler with XCC to ensure success.
378 When compiling with an identical version of
380 to the host, this option may be safely used.
381 This option may also be safe when the host version of
383 is close to the sources being built, but all bets are off if there have
384 been any changes to the toolchain between the versions.
385 When set, it enforces these options:
389 .Va WITHOUT_BINUTILS_BOOTSTRAP
391 .Va WITHOUT_CLANG_BOOTSTRAP
393 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
395 .Va WITHOUT_GCC_BOOTSTRAP
398 Set to not build any crypto code.
399 When set, it enforces these options:
405 .Va WITHOUT_KERBEROS_SUPPORT
412 When set, these options are also in effect:
415 .It Va WITHOUT_GSSAPI
421 Set to compile with CTF (Compact C Type Format) data.
422 CTF data encapsulates a reduced form of debugging information
423 similar to DWARF and the venerable stabs and is required for DTrace.
427 and related utilities.
429 Set to not build CUSE-related programs and libraries.
430 .It Va WITHOUT_CXGBETOOL
434 This is a default setting on
435 arm/arm, arm/armeb, 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, riscv/riscv64 and riscv/riscv64sf.
436 .It Va WITH_CXGBETOOL
440 This is a default setting on
441 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
445 and related libraries.
446 It will also prevent building of
451 This is a default setting on
452 riscv/riscv64 and riscv/riscv64sf.
453 When set, it enforces these options:
459 .Va WITHOUT_CLANG_EXTRAS
461 .Va WITHOUT_CLANG_FULL
463 .Va WITHOUT_DTRACE_TESTS
469 .Va WITHOUT_TESTS_SUPPORT
474 and related libraries.
476 This is a default setting on
477 amd64/amd64, arm/arm, arm/armeb, 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 sparc64/sparc64.
478 .It Va WITHOUT_DEBUG_FILES
479 Set to avoid building or installing standalone debug files for each
480 executable binary and shared library.
481 .It Va WITHOUT_DIALOG
488 When set, it enforces these options:
492 .Va WITHOUT_BSDINSTALL
495 Set to not build the Webster dictionary files.
496 .It Va WITH_DIRDEPS_BUILD
497 This is an experimental build system.
499 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
500 Build commands can be seen from the top-level with:
501 .Dl make show-valid-targets
502 The build is driven by dirdeps.mk using
505 Makefile.depend files found in each directory.
507 The build can be started from anywhere, and behaves the same.
508 The initial instance of
513 .Pa Makefile.depend ,
514 computing a graph of tree dependencies from the current origin.
517 skips checking dirdep dependencies and will only build in the current
518 and child directories.
520 skips building any dirdeps and only build the current directory.
522 This also utilizes the
524 logic for incremental builds.
526 The build hides commands executed unless
530 Note that there is currently no mass install feature for this.
532 When set, it enforces these options:
536 .Va WITH_INSTALL_AS_USER
539 When set, these options are also in effect:
546 .It Va WITH_META_MODE
548 .Va WITHOUT_META_MODE
554 .It Va WITH_STAGING_MAN
556 .Va WITHOUT_STAGING_MAN
558 .It Va WITH_STAGING_PROG
560 .Va WITHOUT_STAGING_PROG
568 This must be set in the environment, make command line, or
569 .Pa /etc/src-env.conf ,
572 .It Va WITH_DIRDEPS_CACHE
573 Cache result of dirdeps.mk which can save significant time
574 for subsequent builds.
576 .Va WITH_DIRDEPS_BUILD .
578 This must be set in the environment, make command line, or
579 .Pa /etc/src-env.conf ,
582 .It Va WITHOUT_DMAGENT
583 Set to not build dma Mail Transport Agent.
584 .It Va WITHOUT_DOCCOMPRESS
585 Set to not install compressed system documentation.
586 Only the uncompressed version will be installed.
587 .It Va WITH_DTRACE_TESTS
588 Set to build and install the DTrace test suite in
589 .Pa /usr/tests/cddl/usr.sbin/dtrace .
590 This test suite is considered experimental on architectures other than
591 amd64/amd64 and running it may cause system instability.
592 .It Va WITHOUT_DYNAMICROOT
593 Set this if you do not want to link
598 .It Va WITHOUT_ED_CRYPTO
601 without support for encryption/decryption.
603 Set to not build and install
606 and related programs.
613 This is a default setting on
614 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, riscv/riscv64sf and sparc64/sparc64.
621 This is a default setting on
622 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
623 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
624 Set to not build ELF Tool Chain tools
625 (addr2line, nm, size, strings and strip)
626 as part of the bootstrap process.
628 An alternate bootstrap tool chain must be provided.
630 .It Va WITHOUT_EXAMPLES
631 Set to avoid installing examples to
632 .Pa /usr/share/examples/ .
633 .It Va WITH_EXTRA_TCP_STACKS
634 Set to build extra TCP stack modules.
636 Set to not build Flattened Device Tree support as part of the base system.
637 This includes the device tree compiler (dtc) and libfdt support library.
641 and related programs.
642 .It Va WITHOUT_FINGER
643 Set to not build or install
647 .It Va WITHOUT_FLOPPY
648 Set to not build or install programs
649 for operating floppy disk driver.
650 .It Va WITHOUT_FMTREE
651 Set to not build and install
652 .Pa /usr/sbin/fmtree .
653 .It Va WITHOUT_FORMAT_EXTENSIONS
655 .Fl fformat-extensions
656 when compiling the kernel.
657 Also disables all format checking.
659 Set to build bootloaders without Forth support.
660 .It Va WITHOUT_FP_LIBC
663 without floating-point support.
664 .It Va WITHOUT_FREEBSD_UPDATE
666 .Xr freebsd-update 8 .
668 Set to not build or install
673 Set to not build games.
675 Set to not build and install gcc and g++ as part of the normal build process.
677 This is a default setting on
678 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
680 Set to build and install gcc and g++.
682 This is a default setting on
683 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.
684 .It Va WITHOUT_GCC_BOOTSTRAP
685 Set to not build gcc and g++ as part of the bootstrap process.
686 You must enable either gcc or clang bootstrap to be able to build the system,
687 unless an alternative compiler is provided via
690 This is a default setting on
691 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
692 .It Va WITH_GCC_BOOTSTRAP
693 Set to build gcc and g++ as part of the bootstrap process.
695 This is a default setting on
696 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.
705 This is a default setting on
706 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
711 This is a default setting on
712 amd64/amd64, arm/arm, arm/armeb, 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.
713 .It Va WITHOUT_GDB_LIBEXEC
719 This is a default setting on
720 arm/arm, arm/armeb, arm/armv6, arm/armv7 and sparc64/sparc64.
721 .It Va WITH_GDB_LIBEXEC
728 to be used as a fallback for
730 if a newer version is not installed.
732 This is a default setting on
733 amd64/amd64, 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 riscv/riscv64sf.
734 .It Va WITHOUT_GNUCXX
735 Do not build the GNU C++ stack (g++, libstdc++).
736 This is the default on platforms where clang is the system compiler.
738 This is a default setting on
739 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
741 Build the GNU C++ stack (g++, libstdc++).
742 This is the default on platforms where gcc is the system compiler.
744 This is a default setting on
745 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.
746 .It Va WITHOUT_GNU_DIFF
751 .It Va WITHOUT_GNU_GREP
754 .It Va WITH_GNU_GREP_COMPAT
755 Set this option to include GNU extensions in
757 by linking against libgnuregex.
761 as part of the base system.
762 .It Va WITHOUT_GPL_DTC
763 Set to build the BSD licensed version of the device tree compiler rather
764 than the GPLed one from elinux.org.
766 This is a default setting on
767 amd64/amd64, arm/arm, arm/armeb, 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.
769 Set to build the GPL'd version of the device tree compiler from elinux.org,
770 instead of the BSD licensed one.
772 This is a default setting on
773 riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
774 .It Va WITHOUT_GSSAPI
775 Set to not build libgssapi.
779 and related utilities.
781 Set to build Hesiod support.
783 Set to not build HTML docs.
784 .It Va WITHOUT_HYPERV
785 Set to not build or install HyperV utilities.
787 Set to not build iconv as part of libc.
788 .It Va WITHOUT_INCLUDES
789 Set to not install header files.
790 This option used to be spelled
793 The option does not work for build targets.
796 Set to not build programs and libraries related to IPv4 networking.
797 When set, it enforces these options:
801 .Va WITHOUT_INET_SUPPORT
805 programs and libraries related to IPv6 networking.
806 When set, it enforces these options:
810 .Va WITHOUT_INET6_SUPPORT
812 .It Va WITHOUT_INET6_SUPPORT
813 Set to build libraries, programs, and kernel modules without IPv6 support.
817 .It Va WITHOUT_INET_SUPPORT
818 Set to build libraries, programs, and kernel modules without IPv4 support.
819 .It Va WITHOUT_INSTALLLIB
820 Set this to not install optional libraries.
821 For example, when creating a
825 The option does not work for build targets.
827 .It Va WITH_INSTALL_AS_USER
828 Set to make install targets succeed for non-root users by installing
829 files with owner and group attributes set to that of the user running
833 The user still must set the
835 variable to point to a directory where the user has write permissions.
836 .It Va WITHOUT_IPFILTER
837 Set to not build IP Filter package.
839 Set to not build IPFW tools.
840 .It Va WITHOUT_IPSEC_SUPPORT
841 Set to not build the kernel with
844 This option is needed for
851 and related utilities.
853 Set to not build tools for the support of jails; e.g.,
860 .It Va WITHOUT_KERBEROS
861 Set this to not build Kerberos 5 (KTH Heimdal).
862 When set, it enforces these options:
866 .Va WITHOUT_KERBEROS_SUPPORT
869 When set, these options are also in effect:
872 .It Va WITHOUT_GSSAPI
877 .It Va WITHOUT_KERBEROS_SUPPORT
878 Set to build some programs without Kerberos support, like
884 .It Va WITHOUT_KERNEL_SYMBOLS
885 Set to not install kernel symbol files.
887 This option is recommended for those people who have small root partitions.
892 library as a part of the base system.
894 The option has no effect yet.
896 When set, it enforces these options:
900 .Va WITHOUT_KVM_SUPPORT
902 .It Va WITHOUT_KVM_SUPPORT
903 Set to build some programs without optional
907 Setting this variable will prevent the LDNS library from being built.
908 When set, it enforces these options:
912 .Va WITHOUT_LDNS_UTILS
916 .It Va WITHOUT_LDNS_UTILS
917 Setting this variable will prevent building the LDNS utilities
921 .It Va WITHOUT_LEGACY_CONSOLE
922 Set to not build programs that support a legacy PC console; e.g.,
927 On 64-bit platforms, set to not build 32-bit library set and a
930 .It Va WITHOUT_LIBCPLUSPLUS
931 Set to avoid building libcxxrt and libc++.
932 .It Va WITHOUT_LIBPTHREAD
937 When set, it enforces these options:
944 On armv6 only, set to enable soft float ABI compatibility libraries.
945 This option is for transitioning to the new hard float ABI.
946 .It Va WITHOUT_LIBTHR
952 Set to not build LLVM's lld linker.
954 This is a default setting on
955 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, riscv/riscv64sf and sparc64/sparc64.
957 Set to build LLVM's lld linker.
959 This is a default setting on
960 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
962 Set to not build the LLDB debugger.
964 This is a default setting on
965 arm/arm, arm/armeb, 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, riscv/riscv64sf and sparc64/sparc64.
967 Set to build the LLDB debugger.
969 This is a default setting on
970 amd64/amd64, arm64/aarch64 and i386/i386.
971 .It Va WITHOUT_LLD_BOOTSTRAP
972 Set to not build the LLD linker during the bootstrap phase of
974 To be able to build the system, either Binutils or LLD bootstrap must be
975 enabled unless an alternate linker is provided via XLD.
977 This is a default setting on
978 amd64/amd64, arm/arm, arm/armeb, 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, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
979 .It Va WITH_LLD_BOOTSTRAP
980 Set to build the LLD linker during the bootstrap phase of the build.
982 This is a default setting on
984 .It Va WITHOUT_LLD_IS_LD
985 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
987 This is a default setting on
988 amd64/amd64, arm/arm, arm/armeb, 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, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
989 .It Va WITH_LLD_IS_LD
990 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
992 This is a default setting on
994 .It Va WITHOUT_LLVM_LIBUNWIND
995 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
997 This is a default setting on
998 arm/arm, arm/armeb, 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 and sparc64/sparc64.
999 .It Va WITH_LLVM_LIBUNWIND
1000 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1002 This is a default setting on
1003 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1004 .It Va WITHOUT_LOCALES
1005 Set to not build localization files; see
1007 .It Va WITHOUT_LOCATE
1010 and related programs.
1014 and related programs.
1015 .It Va WITHOUT_LS_COLORS
1018 without support for colors to distinguish file types.
1019 .It Va WITHOUT_LZMA_SUPPORT
1020 Set to build some programs without optional lzma compression support.
1022 Set to not build any mail support (MUA or MTA).
1023 When set, it enforces these options:
1029 .Va WITHOUT_MAILWRAPPER
1031 .Va WITHOUT_SENDMAIL
1033 .It Va WITHOUT_MAILWRAPPER
1034 Set to not build the
1040 and related support files.
1041 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1044 in limited sandbox mode.
1045 This option should be paired with
1046 .Va WITH_INSTALL_AS_USER
1047 if executed as an unprivileged user.
1052 Set to not build manual pages.
1053 When set, these options are also in effect:
1056 .It Va WITHOUT_MAN_UTILS
1061 .It Va WITHOUT_MANCOMPRESS
1062 Set to not to install compressed man pages.
1063 Only the uncompressed versions will be installed.
1064 .It Va WITHOUT_MAN_UTILS
1065 Set to not build utilities for manual pages,
1071 and related support files.
1072 .It Va WITH_META_MODE
1075 meta files when building, which can provide a reliable incremental build when
1078 The meta file is created in OBJDIR as
1080 These meta files track the command that was executed, its output, and the
1084 module is required unless
1087 When the module is loaded, any files used by the commands executed are
1088 tracked as dependencies for the target in its meta file.
1089 The target is considered out-of-date and rebuilt if any of these
1090 conditions are true compared to the last build:
1091 .Bl -bullet -compact
1093 The command to execute changes.
1095 The current working directory changes.
1097 The target's meta file is missing.
1099 The target's meta file is missing filemon data when filemon is loaded
1100 and a previous run did not have it loaded.
1104 Files read, executed or linked to are newer than the target.
1108 Files read, written, executed or linked are missing.
1110 The meta files can also be useful for debugging.
1112 The build hides commands that are executed unless
1117 to show some of its environment for further debugging.
1119 The build operates as it normally would otherwise.
1120 This option originally invoked a different build system but that was renamed
1122 .Va WITH_DIRDEPS_BUILD .
1124 This must be set in the environment, make command line, or
1125 .Pa /etc/src-env.conf ,
1129 Set to build the NAND Flash components.
1131 Set to not build programs and libraries
1132 related to NDIS emulation support.
1133 .It Va WITHOUT_NETCAT
1137 .It Va WITHOUT_NETGRAPH
1138 Set to not build applications to support
1140 When set, it enforces these options:
1146 .Va WITHOUT_BLUETOOTH
1148 .Va WITHOUT_NETGRAPH_SUPPORT
1150 .It Va WITHOUT_NETGRAPH_SUPPORT
1151 Set to build libraries, programs, and kernel modules without netgraph support.
1155 support and related programs.
1156 If set, you might need to adopt your
1162 Set to not build NLS catalogs.
1163 When set, it enforces these options:
1167 .Va WITHOUT_NLS_CATALOGS
1169 .It Va WITHOUT_NLS_CATALOGS
1170 Set to not build NLS catalog support for
1172 .It Va WITHOUT_NS_CACHING
1173 Set to disable name caching in the
1176 The generic caching daemon,
1178 will not be built either if this option is set.
1182 and related programs.
1185 .Dq "OpenFabrics Enterprise Distribution"
1186 Infiniband software stack.
1187 .It Va WITH_OPENLDAP
1188 Enable building openldap support for kerberos.
1189 .It Va WITHOUT_OPENSSH
1190 Set to not build OpenSSH.
1191 .It Va WITHOUT_OPENSSL
1192 Set to not build OpenSSL.
1193 When set, it enforces these options:
1197 .Va WITHOUT_KERBEROS
1199 .Va WITHOUT_KERBEROS_SUPPORT
1204 When set, these options are also in effect:
1207 .It Va WITHOUT_GSSAPI
1213 Set to not build PAM library and modules.
1215 This option is deprecated and does nothing.
1217 When set, it enforces these options:
1221 .Va WITHOUT_PAM_SUPPORT
1223 .It Va WITHOUT_PAM_SUPPORT
1224 Set to build some programs without PAM support, particularly
1228 .It Va WITHOUT_PC_SYSINSTALL
1231 and related programs.
1233 Set to not build PF firewall package.
1234 When set, it enforces these options:
1240 .It Va WITHOUT_PKGBOOTSTRAP
1247 and related programs.
1248 .It Va WITHOUT_PORTSNAP
1249 Set to not build or install
1255 and related programs.
1256 .It Va WITHOUT_PROFILE
1257 Set to not build profiled libraries for use with
1260 This is a default setting on
1261 mips/mips64el, mips/mips64, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf.
1263 Set to build profiled libraries for use with
1266 This is a default setting on
1267 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1268 .It Va WITHOUT_QUOTAS
1271 and related programs.
1272 .It Va WITHOUT_RADIUS_SUPPORT
1273 Set to not build radius support into various applications, like
1277 .It Va WITH_RATELIMIT
1278 Set to build the system with rate limit support.
1281 .Dv SO_MAX_PACING_RATE
1289 .It Va WITHOUT_RBOOTD
1290 Set to not build or install
1292 .It Va WITH_REPRODUCIBLE_BUILD
1293 Set to exclude build metadata (such as the build time, user, or host)
1294 from the kernel, boot loaders, and uname output, so that builds produce
1295 bit-for-bit identical output.
1296 .It Va WITHOUT_RESCUE
1299 .It Va WITHOUT_ROUTED
1303 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1306 with warmstart support.
1307 .It Va WITHOUT_SENDMAIL
1310 and related programs.
1311 .It Va WITHOUT_SETUID_LOGIN
1312 Set this to disable the installation of
1314 as a set-user-ID root program.
1315 .It Va WITHOUT_SHAREDOCS
1316 Set to not build the
1319 .It Va WITH_SHARED_TOOLCHAIN
1320 Set to build the toolchain binaries shared.
1324 and necessary utilities like assembler, linker and library archive manager.
1325 .It Va WITH_SORT_THREADS
1326 Set to enable threads in
1328 .It Va WITHOUT_SOURCELESS
1329 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1330 When set, it enforces these options:
1334 .Va WITHOUT_SOURCELESS_HOST
1336 .Va WITHOUT_SOURCELESS_UCODE
1338 .It Va WITHOUT_SOURCELESS_HOST
1339 Set to not build kernel modules that include sourceless native code for host CPU.
1340 .It Va WITHOUT_SOURCELESS_UCODE
1341 Set to not build kernel modules that include sourceless microcode.
1343 Set to not build world with propolice stack smashing protection.
1345 This is a default setting on
1346 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1348 Set to build world with propolice stack smashing protection.
1350 This is a default setting on
1351 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1353 Enable staging of files to a stage tree.
1354 This can be best thought of as auto-install to
1356 with some extra meta data to ensure dependencies can be tracked.
1358 .Va WITH_DIRDEPS_BUILD .
1359 When set, these options are also in effect:
1362 .It Va WITH_STAGING_MAN
1364 .Va WITHOUT_STAGING_MAN
1366 .It Va WITH_STAGING_PROG
1368 .Va WITHOUT_STAGING_PROG
1372 This must be set in the environment, make command line, or
1373 .Pa /etc/src-env.conf ,
1376 .It Va WITH_STAGING_MAN
1377 Enable staging of man pages to stage tree.
1378 .It Va WITH_STAGING_PROG
1379 Enable staging of PROGs to stage tree.
1380 .It Va WITH_STALE_STAGED
1381 Check staged files are not stale.
1387 .It Va WITHOUT_SVNLITE
1390 and related programs.
1391 .It Va WITHOUT_SYMVER
1392 Set to disable symbol versioning when building shared libraries.
1393 .It Va WITHOUT_SYSCONS
1396 support files such as keyboard maps, fonts, and screen output maps.
1398 Enable use of sysroot during build.
1400 .Va WITH_DIRDEPS_BUILD .
1402 This must be set in the environment, make command line, or
1403 .Pa /etc/src-env.conf ,
1406 .It Va WITHOUT_SYSTEM_COMPILER
1407 Set to not opportunistically skip building a cross-compiler during the
1408 bootstrap phase of the build.
1409 Normally, if the currently installed compiler matches the planned bootstrap
1410 compiler type and revision, then it will not be built.
1411 This does not prevent a compiler from being built for installation though,
1412 only for building one for the build itself.
1417 options control those.
1419 Set to not build or install
1423 .It Va WITHOUT_TCP_WRAPPERS
1424 Set to not build or install
1426 and related utilities.
1428 Set to not build and install
1432 .It Va WITHOUT_TELNET
1435 and related programs.
1436 .It Va WITHOUT_TESTS
1437 Set to not build nor install the
1444 This also disables the build of all test-related dependencies, including ATF.
1446 This is a default setting on
1447 riscv/riscv64 and riscv/riscv64sf.
1448 When set, it enforces these options:
1452 .Va WITHOUT_DTRACE_TESTS
1454 .Va WITHOUT_TESTS_SUPPORT
1456 .It Va WITHOUT_TESTS_SUPPORT
1457 Set to disables the build of all test-related dependencies, including ATF.
1459 This is a default setting on
1460 riscv/riscv64 and riscv/riscv64sf.
1461 .It Va WITHOUT_TEXTPROC
1463 programs used for text processing.
1465 Set to not build or install
1469 .It Va WITHOUT_TIMED
1470 Set to not build or install
1472 .It Va WITHOUT_TOOLCHAIN
1473 Set to not install header or
1474 programs used for program development,
1475 compilers, debuggers etc.
1476 When set, it enforces these options:
1480 .Va WITHOUT_BINUTILS
1484 .Va WITHOUT_CLANG_EXTRAS
1486 .Va WITHOUT_CLANG_FULL
1492 .Va WITHOUT_INCLUDES
1498 .It Va WITHOUT_UNBOUND
1501 and related programs.
1503 Set to not build USB-related programs and libraries.
1504 .It Va WITHOUT_USB_GADGET_EXAMPLES
1505 Set to not build USB gadget kernel modules.
1506 .It Va WITHOUT_UTMPX
1507 Set to not build user accounting tools such as
1516 Set to not build and install vi, view, ex and related programs.
1520 support files (fonts and keymaps).
1521 .It Va WITHOUT_WARNS
1522 Set this to not add warning flags to the compiler invocations.
1523 Useful as a temporary workaround when code enters the tree
1524 which triggers warnings in environments that differ from the
1526 .It Va WITHOUT_WIRELESS
1527 Set to not build programs used for 802.11 wireless networks; especially
1528 .Xr wpa_supplicant 8
1531 When set, it enforces these options:
1535 .Va WITHOUT_WIRELESS_SUPPORT
1537 .It Va WITHOUT_WIRELESS_SUPPORT
1538 Set to build libraries, programs, and kernel modules without
1539 802.11 wireless support.
1540 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1542 .Xr wpa_supplicant 8
1543 without support for the IEEE 802.1X protocol and without
1544 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1545 protocols (usable only via 802.1X).
1547 Set to not build ZFS file system.
1548 .It Va WITHOUT_ZONEINFO
1549 Set to not build the timezone database.
1550 When set, it enforces these options:
1554 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1556 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
1558 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1559 Set to build leapsecond information in to the timezone database.
1560 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
1561 Set to build backward compatibility timezone aliases in to the timezone
1565 .Bl -tag -compact -width Pa
1566 .It Pa /etc/src.conf
1567 .It Pa /etc/src-env.conf
1568 .It Pa /usr/share/mk/bsd.own.mk
1581 This manual page was autogenerated by
1582 .An tools/build/options/makeman .