chiark / gitweb /
Makefile: Do not use --workspace for DEPLOY build otter-0.4.0
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Mar 2021 12:59:21 +0000 (12:59 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Mar 2021 12:59:21 +0000 (12:59 +0000)
This makes it try to build a musl cdylib for otter-wasm, which it
can't.  There doesn't seem to be a way to exclude this from cargo.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index e08c9c72916039532f5f65aeb033d4687731788c..b6e97ad331142b4fe1add10790ba52cbdbcf9452 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -199,7 +199,7 @@ stamp/cargo.wasm-%: $(call rsrcs, base wasm Cargo.*)
        $(stamp)
 
 stamp/cargo.deploy-build: $(call rsrcs,.)
-       $(CARGO) -T$(DEPLOY_ARCH) build --workspace $(call cr,$(DEPLOY_RELEASE)) -p otter -p otter-daemon
+       $(CARGO) -T$(DEPLOY_ARCH) build $(call cr,$(DEPLOY_RELEASE)) -p otter -p otter-daemon
        $(stamp)
 
 #---------- wasm ----------