Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142688930
D44272.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
D44272.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 March 1, 2024
+.Dd March 7, 2024
.Dt SRC.CONF 5
.Os
.Sh NAME
@@ -328,6 +328,9 @@
.It
.Va WITHOUT_ZFS
.El
+.It Va WITHOUT_CHECK_SYMBOLS
+Disable automatic checking of library symbols and versions against a
+reference list.
.It Va WITHOUT_CLANG
Do not build the Clang C/C++ compiler during the regular phase of the build.
When set, it enforces these options:
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -404,6 +404,9 @@
false; \
fi \
fi
+.if !defined(_SKIP_BUILD) && ${MK_CHECK_SYMBOLS} == yes
+all: check-symbols
+.endif
update-symref: ${SHLIB_NAME}.symbols
cp ${SHLIB_NAME}.symbols ${SYMBOLS_REF}
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
@@ -52,6 +52,7 @@
__DEFAULT_YES_OPTIONS = \
ASSERT_DEBUG \
+ CHECK_SYMBOLS \
DEBUG_FILES \
DOCCOMPRESS \
INCLUDES \
diff --git a/tools/build/options/WITHOUT_CHECK_SYMBOLS b/tools/build/options/WITHOUT_CHECK_SYMBOLS
new file mode 100644
--- /dev/null
+++ b/tools/build/options/WITHOUT_CHECK_SYMBOLS
@@ -0,0 +1,2 @@
+Disable automatic checking of library symbols and versions against a
+reference list.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 6:40 AM (18 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27878858
Default Alt Text
D44272.diff (1 KB)
Attached To
Mode
D44272: bsd.lib.mk: check symbols if symrefs are present
Attached
Detach File
Event Timeline
Log In to Comment