From 9df1d0e002cef2767acc3a0e1ce23f04124e9021 Mon Sep 17 00:00:00 2001 From: Yang Bo Date: Fri, 1 Nov 2019 17:14:40 +0800 Subject: [PATCH] rust-agent: Set BUILDTYPE to debug. Since build with --release produces corrupted binary in ci, we removed --release. However, the make install target cannot find the binary, set BUILDTYPE to debug Fixes: #67 Signed-off-by: Yang Bo --- src/agent/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent/Makefile b/src/agent/Makefile index 6805d43da..a241e67cd 100644 --- a/src/agent/Makefile +++ b/src/agent/Makefile @@ -23,7 +23,7 @@ COMMIT_MSG = $(if $(COMMIT),$(COMMIT),unknown) # Exported to allow cargo to see it export VERSION_COMMIT := $(if $(COMMIT),$(VERSION)-$(COMMIT),$(VERSION)) -BUILD_TYPE = release +BUILD_TYPE = debug ARCH = $(shell uname -m) LIBC = musl