From 749315e3c328aeb0ae9bddd1b74ed647b22d1160 Mon Sep 17 00:00:00 2001 From: x Date: Wed, 23 Oct 2019 08:51:04 +0200 Subject: [PATCH] IcBench: Makefile --- makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index 6b942c1..6aa41e5 100644 --- a/makefile +++ b/makefile @@ -33,14 +33,15 @@ CFLAGS+=-D__int64_t=int64_t else OS := $(shell uname -s) ARCH := $(shell uname -m) -ifeq (,$(findstring aarch64, $(CC))) - ARCH := aarch64 +ifneq (,$(findstring aarch64,$(CC))) + ARCH = aarch64 endif -ifeq (,$(findstring ppc64le, $(CC))) - ARCH := ppc64le +ifneq (,$(findstring powerpc64le,$(CC))) + ARCH = ppc64le endif endif + #------ ARMv8 ifeq ($(ARCH),aarch64) ifneq (,$(findstring clang, $(CC)))