1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-13 19:28:56 +00:00

Fixed building error on Raspberry Pi

This commit is contained in:
Gabriele Gristina 2022-02-06 01:57:04 +01:00
parent 68e86fffee
commit 89a52cfe21
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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