diff options
author | Brad King <brad.king@kitware.com> | 2021-10-14 09:53:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-14 09:53:29 (GMT) |
commit | ddced0c6b6e6d0e2f1bbbcc6daf6cb5a42cee9bc (patch) | |
tree | ccff2c1414308d1dbacd3fa12cc14a454c011911 /Utilities/cmzstd | |
parent | ee98d9378fe83c442ee8e66f8eddc222add4880c (diff) | |
download | CMake-ddced0c6b6e6d0e2f1bbbcc6daf6cb5a42cee9bc.zip CMake-ddced0c6b6e6d0e2f1bbbcc6daf6cb5a42cee9bc.tar.gz CMake-ddced0c6b6e6d0e2f1bbbcc6daf6cb5a42cee9bc.tar.bz2 |
zstd: Fix trace compilation on AIX
Since zstd commit `6cee3c2c` ([trace] Remove default definitions of weak
symbols, 2021-04-26, v1.5.0^2~53^2), the weak symbol trace
implementation does not compile on AIX. Disable it.
Diffstat (limited to 'Utilities/cmzstd')
-rw-r--r-- | Utilities/cmzstd/lib/common/zstd_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmzstd/lib/common/zstd_trace.h b/Utilities/cmzstd/lib/common/zstd_trace.h index 2da5640..485cadf 100644 --- a/Utilities/cmzstd/lib/common/zstd_trace.h +++ b/Utilities/cmzstd/lib/common/zstd_trace.h @@ -20,7 +20,7 @@ extern "C" { /* weak symbol support */ #if !defined(ZSTD_HAVE_WEAK_SYMBOLS) && defined(__GNUC__) && \ !defined(__APPLE__) && !defined(_WIN32) && !defined(__MINGW32__) && \ - !defined(__CYGWIN__) + !defined(__CYGWIN__) && !defined(_AIX) # define ZSTD_HAVE_WEAK_SYMBOLS 1 #else # define ZSTD_HAVE_WEAK_SYMBOLS 0 |