mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 06:14:18 +08:00
Relibc defines those structs now. The build fails because the patch redefines those structs.
25 lines
677 B
TOML
25 lines
677 B
TOML
[source]
|
|
tar = "https://dist.libuv.org/dist/v1.45.0/libuv-v1.45.0.tar.gz"
|
|
blake3 = "b78eaba37bfa5fea75accc6d70c67358a4d0b6bb2dfb79b9bb17cb5478cdf797"
|
|
patches = ["redox.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
COOKBOOK_CONFIGURE="cmake"
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
-DCMAKE_CROSSCOMPILING=True
|
|
-DCMAKE_EXE_LINKER_FLAGS="-static"
|
|
-DCMAKE_INSTALL_PREFIX="/"
|
|
-DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
|
|
-DCMAKE_SYSTEM_NAME=Generic
|
|
-DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
|
|
-DCMAKE_VERBOSE_MAKEFILE=On
|
|
-DCMAKE_C_STANDARD=99
|
|
-DBUILD_TESTING=OFF
|
|
"${COOKBOOK_SOURCE}"
|
|
)
|
|
cookbook_configure
|
|
"""
|