weak symbols

This commit is contained in:
Peter Hanzel 2026-07-08 14:23:36 +02:00
parent fe03a4d56a
commit 2fbd7b91ed
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@ script = """
DYNAMIC_STATIC_INIT
# TODO: fPIC is the default on linux but not on redox and
# required by llvm21 as zstd statically linked there
export CPPFLAGS="$CPPFLAGS -fPIC"
export CPPFLAGS="$CPPFLAGS -fPIC -DZSTD_TRACE=0"
COOKBOOK_SOURCE="$COOKBOOK_SOURCE/build/cmake"
if [ "${COOKBOOK_DYNAMIC}" != "1" ]; then
COOKBOOK_CMAKE_FLAGS+=(

View File

@ -21,6 +21,7 @@ COOKBOOK_CONFIGURE_FLAGS=(
zlib
enable-zstd
"${OS}-${ARCH}"
--with-rand-seed=devrandom
--prefix="/usr"
--openssldir="/etc/ssl"
)