From f404f4d959aabfbd84553cb0b5aa448212587540 Mon Sep 17 00:00:00 2001 From: Abhishek Dasgupta Date: Thu, 9 Jul 2020 03:20:33 -0400 Subject: [PATCH] Modified Makefile to pick up correct architecture name for ppc64le. Makefile is determining the architecture by running uname command which gives ppc64le as output. But rust toolchain target is available with the name powerpc64le for ppc64le arch. So this change took care of that. Signed-off-by: Abhishek Dasgupta --- src/agent/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/agent/Makefile b/src/agent/Makefile index 7a43d77b51..9a53d5182d 100644 --- a/src/agent/Makefile +++ b/src/agent/Makefile @@ -40,6 +40,10 @@ ifneq ($(LIBC),musl) endif endif +ifeq ($(ARCH), ppc64le) + override ARCH = powerpc64le +endif + TRIPLE = $(ARCH)-unknown-linux-$(LIBC) TARGET_PATH = target/$(TRIPLE)/$(BUILD_TYPE)/$(TARGET)