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:
commit
8192fd0d47
@ -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…
Reference in New Issue
Block a user