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 4510f2ca91.
This commit is contained in:
Brooks Davis 2024-05-02 22:53:21 +01:00
parent b12cae88cf
commit b25ceb97ed
4 changed files with 8 additions and 12 deletions

View File

@ -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

View File

@ -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 \

View File

@ -0,0 +1,2 @@
Link libraries with --no-undefined-version to ensure all symbols are
provided.

View File

@ -1,4 +0,0 @@
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.