[compiler] Misc changes to make this emulator properly compile under Linux with Clang
This commit is contained in:
committed by
Radosław Gliński
parent
0dc0f18abb
commit
f58fab1d2c
1
third_party/zarchive.lua
vendored
1
third_party/zarchive.lua
vendored
@@ -4,6 +4,7 @@ project("zarchive")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
links({
|
||||
"zstd",
|
||||
})
|
||||
defines({
|
||||
"_LIB",
|
||||
|
||||
2
third_party/zstd.lua
vendored
2
third_party/zstd.lua
vendored
@@ -75,6 +75,8 @@ function project_zstd(dir, compression, decompression, deprecated, dictbuilder,
|
||||
|
||||
defines {
|
||||
'XXH_NAMESPACE=ZSTD_',
|
||||
-- See here on why: https://gitlab.kitware.com/cmake/cmake/-/issues/25744
|
||||
'ZSTD_DISABLE_ASM=1',
|
||||
'ZSTD_LEGACY_SUPPORT=' .. legacy
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user