Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115261303
D44216.id137988.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D44216.id137988.diff
View Options
diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
--- 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 April 23, 2024
+.Dd May 1, 2024
.Dt SRC.CONF 5
.Os
.Sh NAME
@@ -1716,9 +1716,11 @@
Do not build
.Xr unbound 8
and related programs.
-.It Va WITHOUT_UNDEFINED_VERSION
-Link libraries with --no-undefined-version to ensure all symbols are
-provided.
+.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_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
--- a/share/mk/bsd.opts.mk
+++ b/share/mk/bsd.opts.mk
@@ -68,7 +68,6 @@
SSP \
TESTS \
TOOLCHAIN \
- UNDEFINED_VERSION \
WARNS \
WERROR
@@ -81,7 +80,8 @@
PROFILE \
RETPOLINE \
STALE_STAGED \
- UBSAN
+ UBSAN \
+ UNDEFINED_VERSION
__DEFAULT_DEPENDENT_OPTIONS = \
MAKE_CHECK_USE_SANDBOX/TESTS \
diff --git a/tools/build/options/WITHOUT_UNDEFINED_VERSION b/tools/build/options/WITHOUT_UNDEFINED_VERSION
deleted file mode 100644
--- a/tools/build/options/WITHOUT_UNDEFINED_VERSION
+++ /dev/null
@@ -1,2 +0,0 @@
-Link libraries with --no-undefined-version to ensure all symbols are
-provided.
diff --git a/tools/build/options/WITH_UNDEFINED_VERSION b/tools/build/options/WITH_UNDEFINED_VERSION
new file mode 100644
--- /dev/null
+++ b/tools/build/options/WITH_UNDEFINED_VERSION
@@ -0,0 +1,4 @@
+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.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 22, 11:46 PM (8 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17703754
Default Alt Text
D44216.id137988.diff (1 KB)
Attached To
Mode
D44216: Make WITHOUT_UNDEFINED_VERSION the default
Attached
Detach File
Event Timeline
Log In to Comment