diff --git a/src/Makefile b/src/Makefile index 4d8123aa9..fe28aff62 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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