Skip to content

Commit

Permalink
cross: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Oct 29, 2023
1 parent 8c066c3 commit a27c81d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/cross-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ BUILD_ROOT="${BUILD_ROOT:-/opt/build}"
BUILD_TARGET="${BUILD_TARGET:-x86_64}"

ZLIB_VERSION="${ZLIB_VERSION:-1.3}"
JSON_C_VERSION="${JSON_C_VERSION:-0.16}"
MBEDTLS_VERSION="${MBEDTLS_VERSION:-2.28.1}"
LIBUV_VERSION="${LIBUV_VERSION:-1.44.2}"
JSON_C_VERSION="${JSON_C_VERSION:-0.17}"
MBEDTLS_VERSION="${MBEDTLS_VERSION:-2.28.5}"
LIBUV_VERSION="${LIBUV_VERSION:-1.46.0}"
LIBWEBSOCKETS_VERSION="${LIBWEBSOCKETS_VERSION:-4.3.2}"

build_zlib() {
Expand Down Expand Up @@ -122,7 +122,7 @@ build_ttyd() {
-DCMAKE_INSTALL_PREFIX="${STAGE_DIR}" \
-DCMAKE_FIND_LIBRARY_SUFFIXES=".a" \
-DCMAKE_C_FLAGS="-Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -flto" \
-DCMAKE_EXE_LINKER_FLAGS="-static -no-pie -Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections" \
-DCMAKE_EXE_LINKER_FLAGS="-ldbghelp -static -no-pie -Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections" \
-DCMAKE_BUILD_TYPE=RELEASE \
..
make install
Expand Down

0 comments on commit a27c81d

Please sign in to comment.