1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-04 05:42:35 +00:00

add -std=c++14 for UNRAR only on MacOS

This commit is contained in:
Gabriele Gristina 2025-05-29 22:05:03 +02:00
parent f094ac207b
commit daa41a0ab8

View File

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