From f0d3cc5bf47ab6ed66eb7bac4ebd9923a9935f2d Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sun, 19 Sep 2021 06:18:09 +0200 Subject: [PATCH] Fixed ARCH detection in Makefile --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9bce83d..0b6b5c4 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,9 @@ PREFIX ?= /usr/local #? NOTICE! Manually set PLATFORM and ARCH if not compiling for host system PLATFORM ?= $(shell uname -s || echo unknown) -ARCH ?= $(shell uname -p || echo unknown) +ARCH ?= $(shell uname -m || echo unknown) #? Only enable fcf-protection if on x86_64 -ifeq ($(ARCH),unknown) - ARCH := $(shell uname -m || echo unknown) -endif ifeq ($(ARCH),x86_64) override ADDFLAGS += -fcf-protection endif