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 <abdasgupta@in.ibm.com>
This commit is contained in:
Abhishek Dasgupta 2020-07-09 03:20:33 -04:00
parent cdbba6ac4b
commit f404f4d959

View File

@ -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)