mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-01 10:10:34 +12:00
updated makefile to add cf-protection for i*86 builds
This commit is contained in:
parent
b83f58a5b7
commit
bca3521472
2
Makefile
2
Makefile
|
@ -21,7 +21,7 @@ ARCH ?= $(shell $(CXX) -dumpmachine | cut -d "-" -f 1)
|
||||||
override PLATFORM_LC := $(shell echo $(PLATFORM) | tr '[:upper:]' '[:lower:]')
|
override PLATFORM_LC := $(shell echo $(PLATFORM) | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
#? Only enable fcf-protection if on x86_64
|
#? Only enable fcf-protection if on x86_64
|
||||||
ifeq ($(ARCH),x86_64)
|
ifneq ($(filter x86_64 i%86, $(ARCH)),)
|
||||||
override ADDFLAGS += -fcf-protection
|
override ADDFLAGS += -fcf-protection
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue