Browse Source

OpenDingux: Enable ZeroTier

pull/3147/head
Gleb Mazovetskiy 5 years ago committed by Anders Jenbo
parent
commit
7894439c7c
  1. 2
      3rdParty/libzt/CMakeLists.txt
  2. 4
      Packaging/OpenDingux/build.sh

2
3rdParty/libzt/CMakeLists.txt vendored

@ -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)

4
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 \
"$@"
}

Loading…
Cancel
Save