Make WITHOUT_UNDEFINED_VERSION the default

Link with --no-undefined-version by default.  Will detect and prevent
the accidental removal of symbols from versioned libraries.

Reviewed by:	arichardson, kib, dim, emaste
Differential Revision:	https://reviews.freebsd.org/D44216
This commit is contained in:
Brooks Davis
2024-05-02 18:13:39 +01:00
parent 723e60a278
commit 4510f2ca91
4 changed files with 12 additions and 8 deletions
+2 -2
View File
@@ -68,7 +68,6 @@ __DEFAULT_YES_OPTIONS = \
SSP \
TESTS \
TOOLCHAIN \
UNDEFINED_VERSION \
WARNS \
WERROR
@@ -81,7 +80,8 @@ __DEFAULT_NO_OPTIONS = \
PROFILE \
RETPOLINE \
STALE_STAGED \
UBSAN
UBSAN \
UNDEFINED_VERSION
__DEFAULT_DEPENDENT_OPTIONS = \
MAKE_CHECK_USE_SANDBOX/TESTS \