This commit is contained in:
Fuyao Zhao
2025-08-31 10:07:35 +08:00
parent b352197e20
commit 68bc908adb

View File

@ -232,7 +232,7 @@ build-x86_64-pc-windows-gnu: FEATURES := $(filter-out jemalloc jemalloc-prof,$(F
# See: https://github.com/cross-rs/cross/wiki/FAQ#undefined-reference-with-build-std
build-%:
RUSTFLAGS="-C link-arg=-lgcc -Clink-arg=-static-libgcc" \
cross build --bin reth --target $* --features "$(FEATURES)" --profile "$(PROFILE)"
cross build --bin reth-hl --target $* --features "$(FEATURES)" --profile "$(PROFILE)"
##@ Docker
# Note: This requires a buildx builder with emulation support. For example: