aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2024-05-02 21:53:21 +0000
committerBrooks Davis <brooks@FreeBSD.org>2024-05-02 21:55:08 +0000
commitb25ceb97eddcd58cfb2b433fe301ab28c678c249 (patch)
tree4cd4db46222108ccad2d6d3da5b479fbec8cd33c /share
parentb12cae88cfb6286bc85a47b36ddd84f52b5c38ca (diff)
downloadsrc-b25ceb97eddcd58cfb2b433fe301ab28c678c249.tar.gz
src-b25ceb97eddcd58cfb2b433fe301ab28c678c249.zip
Revert "Make WITHOUT_UNDEFINED_VERSION the default"
This is causing failures on gcc13 CI builds so those need to be fixed or worked around. This reverts commit 4510f2ca9170927309a423274e03f1eb8e27da27.
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/src.conf.510
-rw-r--r--share/mk/bsd.opts.mk4
2 files changed, 6 insertions, 8 deletions
diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
index 53d42321799b..5301fc488021 100644
--- a/share/man/man5/src.conf.5
+++ b/share/man/man5/src.conf.5
@@ -1,5 +1,5 @@
.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
-.Dd May 1, 2024
+.Dd April 23, 2024
.Dt SRC.CONF 5
.Os
.Sh NAME
@@ -1716,11 +1716,9 @@ and that the runtime support library is available
Do not build
.Xr unbound 8
and related programs.
-.It Va WITH_UNDEFINED_VERSION
-Link libraries with --undefined-version which permits version maps to
-contain symbols that are not present in the library.
-If this is necessicary to build a particular configuration, a bug is
-present and the configuration should be reported.
+.It Va WITHOUT_UNDEFINED_VERSION
+Link libraries with --no-undefined-version to ensure all symbols are
+provided.
.It Va WITHOUT_UNIFIED_OBJDIR
Use the historical object directory format for
.Xr build 7
diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk
index 65ae4f4cfa7c..38d53cc6bf30 100644
--- a/share/mk/bsd.opts.mk
+++ b/share/mk/bsd.opts.mk
@@ -68,6 +68,7 @@ __DEFAULT_YES_OPTIONS = \
SSP \
TESTS \
TOOLCHAIN \
+ UNDEFINED_VERSION \
WARNS \
WERROR
@@ -80,8 +81,7 @@ __DEFAULT_NO_OPTIONS = \
PROFILE \
RETPOLINE \
STALE_STAGED \
- UBSAN \
- UNDEFINED_VERSION
+ UBSAN
__DEFAULT_DEPENDENT_OPTIONS = \
MAKE_CHECK_USE_SANDBOX/TESTS \