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

Merge pull request #3157 from matrix/rpi_Makefile

Fixed building error on Raspberry Pi
This commit is contained in:
Jens Steube 2022-02-06 14:53:07 +01:00 committed by GitHub
commit 8192fd0d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

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

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