unifios-utilities/podman-update/build/net.Makefile.patch
2023-03-23 06:44:36 -07:00

23 lines
669 B
Diff

diff --git a/Makefile b/Makefile
index a84312b1..5ec27081 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ build: build_netavark build_proxy_client
.PHONY: build_netavark
build_netavark: bin $(CARGO_TARGET_DIR)
- $(CARGO) build $(release)
+ $(CARGO) build --target aarch64-unknown-linux-gnu $(release)
cp $(CARGO_TARGET_DIR)/$(profile)/netavark bin/netavark$(if $(debug),.debug,)
.PHONY: crate-publish
@@ -75,7 +75,7 @@ clean:
.PHONY: client
client: bin $(CARGO_TARGET_DIR)
- $(CARGO) build --bin netavark-dhcp-proxy-client $(release)
+ $(CARGO) build --target aarch64-unknown-linux-gnu --bin netavark-dhcp-proxy-client $(release)
.PHONY: docs