summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9750616..8cdbfa4 100644
--- a/Makefile
+++ b/Makefile
@@ -68,8 +68,8 @@ clippy: ## Run clippy lint checks using the nightly compiler.
rustup run nightly cargo clippy -- -Dclippy
client: rust-openssl src/ ## Compile a new release build of the client.
- $(CARGO) build --release
- @cp target/release/sota_client run/
+ $(CARGO) build --release --target=x86_64-unknown-linux-gnu
+ @cp target/x86_64-unknown-linux-gnu/release/sota_client run/
image: client ## Build a Docker image for running the client.
@docker build --tag advancedtelematic/sota-client run