diff --git a/3rdParty/libzt/CMakeLists.txt b/3rdParty/libzt/CMakeLists.txt index 24088b51c..a746fff74 100644 --- a/3rdParty/libzt/CMakeLists.txt +++ b/3rdParty/libzt/CMakeLists.txt @@ -3,7 +3,7 @@ include(FetchContent_MakeAvailableExcludeFromAll) include(FetchContent) FetchContent_Declare(libzt GIT_REPOSITORY https://github.com/diasurgical/libzt.git - GIT_TAG a1acf0119888f645ceae69ecea2b6174ee220da5) + GIT_TAG 31f8b05c3462f9d8466aa0a55df0042f13fc1096) FetchContent_MakeAvailableExcludeFromAll(libzt) if(NOT ANDROID) diff --git a/Packaging/OpenDingux/build.sh b/Packaging/OpenDingux/build.sh index fe2dfdb69..d516aa402 100755 --- a/Packaging/OpenDingux/build.sh +++ b/Packaging/OpenDingux/build.sh @@ -71,11 +71,13 @@ make_buildroot() { } cmake_configure() { + # libzt uses `-fstack-protector` GCC flag by default. + # We disable `-fstack-protector` because it isn't supported by target libc. cmake -S. -B"$BUILD_DIR" \ "-DTARGET_PLATFORM=$TARGET" \ -DCMAKE_TOOLCHAIN_FILE="${TOOLCHAIN}/usr/share/buildroot/toolchainfile.cmake" \ -DDEVILUTIONX_SYSTEM_LIBSODIUM=OFF \ - -DDISABLE_ZERO_TIER=ON \ + -DSTACK_PROTECTOR=OFF \ "$@" }