diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2024-03-01 23:21:46 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2024-03-01 23:22:11 +0000 |
commit | 2956f5885cf4f001bd5c220ee9753d49aa1ad656 (patch) | |
tree | 2fa631617960570a9bc2ec0a0d5ad6062f21bdd5 /tools | |
parent | c5246cb7b0153730101163381576e9b0e91c73a5 (diff) | |
download | src-2956f5885cf4f001bd5c220ee9753d49aa1ad656.tar.gz src-2956f5885cf4f001bd5c220ee9753d49aa1ad656.zip |
Add an UNDEFINED_VERSION option
When enabled (current default) link with --undefined-version to allow
symbol maps to contain symbols not defined by libraries. When disabled,
link with --no-undefined-version to disallow these bugs.
WITHOUT_UNDEFINED_VERSION is currently broken. Once it is fixed it
should be made the default and this option should likely be removed.
Reviewed by: dim, emaste
Differential Revision: https://reviews.freebsd.org/D44169
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build/options/WITHOUT_UNDEFINED_VERSION | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/options/WITHOUT_UNDEFINED_VERSION b/tools/build/options/WITHOUT_UNDEFINED_VERSION new file mode 100644 index 000000000000..0e58eb00f3c1 --- /dev/null +++ b/tools/build/options/WITHOUT_UNDEFINED_VERSION @@ -0,0 +1,2 @@ +Link libraries with --no-undefined-version to ensure all symbols are +provided. |