diff options
| author | Stefan Boberg <[email protected]> | 2026-03-16 10:28:28 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-03-16 10:28:28 +0100 |
| commit | 252b98eaf76cc3e702b8e9fc0e3a835af5d7b33e (patch) | |
| tree | 71e60a1a5b2a50c8cb305b2e259b4fb83dcd57d9 /thirdparty/xmake.lua | |
| parent | URI decoding, process env, compiler info, httpasio strands, regex route remov... (diff) | |
| download | zen-252b98eaf76cc3e702b8e9fc0e3a835af5d7b33e.tar.xz zen-252b98eaf76cc3e702b8e9fc0e3a835af5d7b33e.zip | |
Linux build improvements (#843)
- **Sentry crashpad patch**: Make static libc++ linking conditional on `-stdlib=libc++` being active, so the patch doesn't break gcc or system clang builds that use libstdc++
- **GCC warning fix**: Suppress `-Wunused-but-set-variable` for gcc (false positive with `constinit` static locals passed by reference)
- **ASIO typo fix**: `ASIO_STANDLONE` → `ASIO_STANDALONE`
- **Toolchain verification script**: `scripts/ue_build_linux/verify_linux_toolchains.sh` for testing builds across gcc, ue-clang, clang-19 and clang-20
Diffstat (limited to 'thirdparty/xmake.lua')
| -rw-r--r-- | thirdparty/xmake.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/thirdparty/xmake.lua b/thirdparty/xmake.lua index 59233649a..f06eb6fff 100644 --- a/thirdparty/xmake.lua +++ b/thirdparty/xmake.lua @@ -67,7 +67,11 @@ target('cpr') target('asio') set_kind('headeronly') set_group('thirdparty') - add_defines("ASIO_STANDLONE", "ASIO_HEADER_ONLY", {public=true}) + add_defines("ASIO_STANDALONE", "ASIO_HEADER_ONLY", {public=true}) + if is_plat("linux") and not (get_config("toolchain") == "ue-clang") then + add_defines("ASIO_HAS_IO_URING", {public=true}) + add_packages("liburing", {public=true}) + end add_headerfiles("asio/asio/include/**.hpp") add_includedirs("asio/asio/include", {public=true}) |