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