Merge pull request #3157 from matrix/rpi_Makefile

Fixed building error on Raspberry Pi
pull/3159/head
Jens Steube 2 years ago committed by GitHub
commit 8192fd0d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,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