diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2024-05-02 18:13:39 +0100 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2024-05-02 18:13:39 +0100 |
| commit | 4510f2ca9170927309a423274e03f1eb8e27da27 (patch) | |
| tree | 122dc57baaadd832a5d4a9af221c1437f979847b /share/mk/bsd.opts.mk | |
| parent | 723e60a278b16fc4411cb4d9f201cb3ba26108cf (diff) | |
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
Diffstat (limited to 'share/mk/bsd.opts.mk')
| -rw-r--r-- | share/mk/bsd.opts.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk index 38d53cc6bf30..65ae4f4cfa7c 100644 --- a/share/mk/bsd.opts.mk +++ b/share/mk/bsd.opts.mk @@ -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 \ |
