mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-28 23:31:26 +12:00
Fixed ARCH detection in Makefile
This commit is contained in:
parent
9319d0c48c
commit
f0d3cc5bf4
1 changed files with 1 additions and 4 deletions
5
Makefile
5
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
|
||||
|
|
Loading…
Reference in a new issue