Fixed building error on Raspberry Pi

pull/3157/head
Gabriele Gristina 2 years ago
parent 68e86fffee
commit 89a52cfe21

@ -22,6 +22,7 @@
## Bugs
##
- Fixed building error on Raspberry Pi
- Fixed false negative on Unit Test in case of out-of-memory with grep in single mode
- Fixed false negative on Unit Test with hash-type 25400
- Fixed functional error when nonce-error-corrections that were set on the command line in hash-mode 22000/22001 were not accepted

@ -254,6 +254,14 @@ endif
endif
endif
ifeq ($(UNAME),Linux)
IS_RPI := $(shell grep -q Raspberry /proc/cpuinfo && echo 1 || echo 0)
ifeq ($(IS_RPI),1)
CFLAGS += -mcpu=cortex-a72
endif
endif
CFLAGS += -pipe -Iinclude/ -IOpenCL/
# LZMA

Loading…
Cancel
Save