Skip to content

Commit 1d9a7c1

Browse files
update docker
1 parent 09c5307 commit 1d9a7c1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ install-op: ## Build and install the op-reth binary under `~/.cargo/bin`.
6060
.PHONY: install-bsc
6161
install-bsc: ## Build and install the bsc-reth binary under `~/.cargo/bin`.
6262
cargo install --path bin/reth --bin bsc-reth --force --locked \
63-
--features "bsc prefetch $(FEATURES)" \
63+
--features "bsc $(FEATURES)" \
6464
--profile "$(PROFILE)" \
6565
$(CARGO_INSTALL_EXTRA_FLAGS)
6666

@@ -74,7 +74,7 @@ build-op: ## Build the op-reth binary into `target` directory.
7474

7575
.PHONY: build-bsc
7676
build-bsc: ## Build the bsc-reth binary into `target` directory.
77-
cargo build --bin bsc-reth --features "bsc prefetch $(FEATURES)" --profile "$(PROFILE)"
77+
cargo build --bin bsc-reth --features "bsc $(FEATURES)" --profile "$(PROFILE)"
7878

7979
# Builds the reth binary natively.
8080
build-native-%:
@@ -84,7 +84,7 @@ op-build-native-%:
8484
cargo build --bin op-reth --target $* --features "optimism,opbnb,$(FEATURES)" --profile "$(PROFILE)"
8585

8686
bsc-build-native-%:
87-
cargo build --bin bsc-reth --target $* --features "bsc,prefetch,$(FEATURES)" --profile "$(PROFILE)"
87+
cargo build --bin bsc-reth --target $* --features "bsc,$(FEATURES)" --profile "$(PROFILE)"
8888

8989
# The following commands use `cross` to build a cross-compile.
9090
#
@@ -127,7 +127,7 @@ op-build-%:
127127

128128
bsc-build-%:
129129
RUSTFLAGS="-C link-arg=-lgcc -Clink-arg=-static-libgcc" \
130-
cross build --bin bsc-reth --target $* --features "bsc,prefetch,$(FEATURES)" --profile "$(PROFILE)"
130+
cross build --bin bsc-reth --target $* --features "bsc,$(FEATURES)" --profile "$(PROFILE)"
131131

132132
# Unfortunately we can't easily use cross to build for Darwin because of licensing issues.
133133
# If we wanted to, we would need to build a custom Docker image with the SDK available.

0 commit comments

Comments
 (0)