1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-01 20:32:38 +00:00

Merge pull request #4225 from matrix/master

add -std=c++14 for UNRAR only on MacOS
This commit is contained in:
Jens Steube 2025-05-30 07:23:14 +02:00 committed by GitHub
commit e811e8e1ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -214,7 +214,9 @@ endif
## because UNRAR ## because UNRAR
ifeq ($(ENABLE_UNRAR),1) ifeq ($(ENABLE_UNRAR),1)
ifeq ($(USE_SYSTEM_UNRAR),0) ifeq ($(USE_SYSTEM_UNRAR),0)
ifeq ($(UNAME),Darwin)
CFLAGS_UNRAR += -std=c++14 CFLAGS_UNRAR += -std=c++14
endif
ifneq ($(CC),clang) ifneq ($(CC),clang)
CFLAGS_UNRAR += -Wno-class-memaccess CFLAGS_UNRAR += -Wno-class-memaccess
CFLAGS_UNRAR += -Wno-misleading-indentation CFLAGS_UNRAR += -Wno-misleading-indentation