diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-19 13:38:42 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-19 16:28:49 +0200 |
commit | b0d1422b6037bfea6f6723683bd82a8e6d77026c (patch) | |
tree | 1cc7c171ffbae0258f09627cfe9f4cfe43f77549 /tests/files | |
parent | CMake: Revise the component splitting. (diff) | |
download | xz-b0d1422b6037bfea6f6723683bd82a8e6d77026c.tar.xz |
CMake: Don't assume that -fvisibility=hidden is supported outside Windows.
The original code was good enough for supporting GNU/Linux
and a few others but it wasn't very portable.
CMake doesn't support Solaris Studio's -xldscope=hidden.
If it ever does, things should still work with this commit
as Solaris Studio supports not only its own __global but also
the GNU C __attribute__((visibility("default"))). Support for the
attribute was added in 2007 to Sun Studio 12 compiler version 5.9.
Diffstat (limited to 'tests/files')
0 files changed, 0 insertions, 0 deletions