mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-06 12:37:44 +08:00
weak symbols
This commit is contained in:
parent
fe03a4d56a
commit
2fbd7b91ed
@ -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+=(
|
||||
|
||||
@ -21,6 +21,7 @@ COOKBOOK_CONFIGURE_FLAGS=(
|
||||
zlib
|
||||
enable-zstd
|
||||
"${OS}-${ARCH}"
|
||||
--with-rand-seed=devrandom
|
||||
--prefix="/usr"
|
||||
--openssldir="/etc/ssl"
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user