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:
parent
f094ac207b
commit
daa41a0ab8
@ -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)
|
||||||
#CFLAGS_UNRAR += -std=c++14
|
ifeq ($(UNAME),Darwin)
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user